SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit c459058156da4a7c4a1ec6b6a2ef0fc80f8ea345 parent 48397683b828ea855c1c2e698adfef0b56df50c0 Author: Lior Halphon <LIJI32@gmail.com> Date: Fri, 30 Jul 2021 14:10:04 +0300 That was silly Diffstat:
| M | Core/memory.c | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Core/memory.c b/Core/memory.c @@ -712,7 +712,7 @@ static void write_mbc(GB_gameboy_t *gb, uint16_t addr, uint8_t value) break; case GB_MBC5: switch (addr & 0xF000) { - case 0x0000: case 0x1000: gb->mbc_ram_enable = (value & 0xFF) == 0x0A; break; + case 0x0000: case 0x1000: gb->mbc_ram_enable = value == 0x0A; break; case 0x2000: gb->mbc5.rom_bank_low = value; break; case 0x3000: gb->mbc5.rom_bank_high = value; break; case 0x4000: case 0x5000:
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.