GB Memory: Fix MBC5 for large ROMs
Jeffrey Pfau jeffrey@endrift.com
Wed, 17 Feb 2016 20:00:55 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gb/memory.c
→
src/gb/memory.c
@@ -487,7 +487,7 @@ }
} void _GBMBC5(struct GBMemory* memory, uint16_t address, uint8_t value) { - int bank = value & 0x7F; + int bank = value; switch (address >> 13) { case 0x0: switch (value) {