Skip to content
Snippets Groups Projects
Verified Commit f5e7a17c authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

chore: tiny tune

parent 1112ab9c
No related branches found
No related tags found
1 merge request!31System state save
Pipeline #3264 passed
......@@ -906,7 +906,7 @@ pub static MBC5: Mbc = Mbc {
}
// ROM bank selection 9th bit
0x3000 => {
let rom_bank = (rom.rom_bank() & 0x0ff) + (((value & 0x01) as u16) << 8);
let rom_bank = (rom.rom_bank() & 0x00ff) + (((value & 0x01) as u16) << 8);
rom.set_rom_bank(rom_bank);
}
// RAM bank selection
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment