SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 8c86cff48631eeff387e4ee150533ae8f2a0d5d3 parent bb836662dd0a6a2d4c2ff7c8f2ecf3b7e952e5e1 Author: Lior Halphon <LIJI32@gmail.com> Date: Sat, 14 May 2022 01:33:45 +0300 Fix MBC5's initial state Diffstat:
| M | Core/mbc.c | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/Core/mbc.c b/Core/mbc.c @@ -257,6 +257,7 @@ void GB_reset_mbc(GB_gameboy_t *gb) } else if (gb->cartridge_type->mbc_type == GB_MBC5) { gb->mbc5.rom_bank_low = 1; + gb->mbc_rom_bank = 1; } else if (gb->cartridge_type->mbc_type == GB_MBC7) { gb->mbc7.x_latch = gb->mbc7.y_latch = 0x8000;
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.