all repos — mgba @ 18065c8b621de877e031eee56a3160e7e22608a4

mGBA Game Boy Advance Emulator

GB MBC: Fix warnings
Vicki Pfau vi@endrift.com
Sun, 22 Jul 2018 17:54:16 -0700
commit

18065c8b621de877e031eee56a3160e7e22608a4

parent

2f5624e74ac94b7065b10568c1f6378d3d1bc4a4

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

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