diff --git a/src/rom.rs b/src/rom.rs index 78ab8e642b1c88a755fff97dc8ab3e361ff35811..e05b63865bba51cb27357089a73f6f2a63fd534f 100644 --- a/src/rom.rs +++ b/src/rom.rs @@ -443,7 +443,9 @@ pub static MBC1: Mbc = Mbc { } // ROM mode selection 0x6000 | 0x7000 => { - unimplemented!("ROM mode selection for MBC1 is not implemented"); + if value == 0x1 && rom.rom_bank_count > 32 { + unimplemented!("Advanced ROM banking mode for MBC1 is not implemented"); + } } _ => panic!("Writing to unknown Cartridge ROM location 0x{:04x}", addr), }