all repos — mgba @ fc64924cf566ea5ab9fb618c5224cc293792e11a

mGBA Game Boy Advance Emulator

GB MBC: Fix MBC7 sampling
Vicki Pfau vi@endrift.com
Wed, 28 Jun 2017 14:26:03 -0700
commit

fc64924cf566ea5ab9fb618c5224cc293792e11a

parent

6c6d09ee7c7c916c4f448dc7ece4fccd7a25e9af

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

jump to
M src/gb/mbc.csrc/gb/mbc.c

@@ -558,7 +558,7 @@ mbc7->latch = (value & 0x55) == 0x55;

return; case 0x10: mbc7->latch |= (value & 0xAA); - if (mbc7->latch == 0xFF && memory->rotation && memory->rotation->sample) { + if (mbc7->latch == 0xAB && memory->rotation && memory->rotation->sample) { memory->rotation->sample(memory->rotation); } mbc7->latch = 0;