keep rom bank in limits
This commit is contained in:
parent
122bfee8df
commit
2f8c606f79
|
@ -105,6 +105,7 @@ impl MBC for MBC1 {
|
|||
}
|
||||
_ => {}
|
||||
}
|
||||
self.rom_bank = (self.rom_bank as usize % self.num_banks) as u8;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue