GB MBC: Fix MBC7 sampling
Vicki Pfau vi@endrift.com
Wed, 28 Jun 2017 14:26:03 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gb/mbc.c
→
src/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;