GBA: Reshuffle Wii U VC opcode log
Vicki Pfau vi@endrift.com
Fri, 17 Jul 2020 02:55:47 -0700
1 files changed,
4 insertions(+),
4 deletions(-)
jump to
M
src/gba/gba.c
→
src/gba/gba.c
@@ -734,13 +734,13 @@ }
void GBAIllegal(struct ARMCore* cpu, uint32_t opcode) { struct GBA* gba = (struct GBA*) cpu->master; + if (cpu->executionMode == MODE_THUMB && (opcode & 0xFFC0) == 0xE800) { + mLOG(GBA, INFO, "Hit Wii U VC opcode: %08x", opcode); + return; + } if (!gba->yankedRomSize) { // TODO: More sensible category? mLOG(GBA, WARN, "Illegal opcode: %08x", opcode); - } - if (cpu->executionMode == MODE_THUMB && (opcode & 0xFFC0) == 0xE800) { - mLOG(GBA, DEBUG, "Hit Wii U VC opcode: %08x", opcode); - return; } #ifdef USE_DEBUGGERS if (gba->debugger) {