fix bug when loading different roms

This commit is contained in:
2024-11-06 22:39:30 -05:00
parent 05c72726d7
commit 368f358179
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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)
}