mirror of
https://github.com/FranLMSP/snes.git
synced 2026-08-03 08:30:01 -04:00
fix bug when loading different roms
This commit is contained in:
@@ -20,6 +20,7 @@ impl LoROM {
|
||||
|
||||
impl ROM for LoROM {
|
||||
fn load(&mut self, filename: &str) -> std::io::Result<bool> {
|
||||
self.data = vec![];
|
||||
load_rom(filename, &mut self.data)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user