all repos — mgba @ 5b319cfd91fff2fcd3df0e1fce3e498454796da0

mGBA Game Boy Advance Emulator

GBA: Reshuffle Wii U VC opcode log
Vicki Pfau vi@endrift.com
Fri, 17 Jul 2020 02:55:47 -0700
commit

5b319cfd91fff2fcd3df0e1fce3e498454796da0

parent

78524ee0781007671dab02a7a0333946378efacf

1 files changed, 4 insertions(+), 4 deletions(-)

jump to
M src/gba/gba.csrc/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) {