Fix MBC5's initial state
This commit is contained in:
parent
bb836662dd
commit
8c86cff486
@ -257,6 +257,7 @@ void GB_reset_mbc(GB_gameboy_t *gb)
|
|||||||
}
|
}
|
||||||
else if (gb->cartridge_type->mbc_type == GB_MBC5) {
|
else if (gb->cartridge_type->mbc_type == GB_MBC5) {
|
||||||
gb->mbc5.rom_bank_low = 1;
|
gb->mbc5.rom_bank_low = 1;
|
||||||
|
gb->mbc_rom_bank = 1;
|
||||||
}
|
}
|
||||||
else if (gb->cartridge_type->mbc_type == GB_MBC7) {
|
else if (gb->cartridge_type->mbc_type == GB_MBC7) {
|
||||||
gb->mbc7.x_latch = gb->mbc7.y_latch = 0x8000;
|
gb->mbc7.x_latch = gb->mbc7.y_latch = 0x8000;
|
||||||
|
Loading…
Reference in New Issue
Block a user