GB MBC: Fix warnings
Vicki Pfau vi@endrift.com
Sun, 22 Jul 2018 17:54:16 -0700
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
src/gb/mbc.c
→
src/gb/mbc.c
@@ -446,6 +446,7 @@ }
address &= 0x1FF; memory->sramBank[(address >> 1)] &= 0xF0 >> shift; memory->sramBank[(address >> 1)] |= (value & 0xF) << shift; + break; default: // TODO mLOG(GB_MBC, STUB, "MBC2 unknown address: %04X:%02X", address, value);@@ -640,6 +641,7 @@ }
break; case 0x5: _GBMBC7Write(&gb->memory, address, value); + break; default: // TODO mLOG(GB_MBC, STUB, "MBC7 unknown address: %04X:%02X", address, value);