all repos — mgba @ 215f7752f30a8da81bfaf22cee57028c0c8e09e7

mGBA Game Boy Advance Emulator

GB Memory: Fix MBC5 for large ROMs
Jeffrey Pfau jeffrey@endrift.com
Wed, 17 Feb 2016 20:00:55 -0800
commit

215f7752f30a8da81bfaf22cee57028c0c8e09e7

parent

189863485788b2a5bfa8acf9386313980ca6fe6e

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/gb/memory.csrc/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) {