GB Memory: More logging
Jeffrey Pfau jeffrey@endrift.com
Tue, 26 Jan 2016 23:55:38 -0800
1 files changed,
12 insertions(+),
1 deletions(-)
jump to
M
src/gb/memory.c
→
src/gb/memory.c
@@ -342,6 +342,10 @@ ++bank;
} _switchBank(memory, bank | (memory->currentBank & 0x60)); break; + default: + // TODO + mLOG(GB_MBC, STUB, "MBC1 unknown address: %04X:%02X", address, value); + break; } }@@ -380,6 +384,10 @@ } else {
mLOG(GB_MBC, STUB, "MBC3 RTC unimplemented", value); } break; + default: + // TODO + mLOG(GB_MBC, STUB, "MBC3 unknown address: %04X:%02X", address, value); + break; } }@@ -406,9 +414,12 @@ mLOG(GB_MBC, STUB, "MBC5 unknown value %02X", value);
break; } break; - break; case 0x1: _switchBank(memory, bank); + break; + default: + // TODO + mLOG(GB_MBC, STUB, "MBC5 unknown address: %04X:%02X", address, value); break; } }