From 5b319cfd91fff2fcd3df0e1fce3e498454796da0 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Fri, 17 Jul 2020 02:55:47 -0700 Subject: [PATCH] GBA: Reshuffle Wii U VC opcode log --- src/gba/gba.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gba/gba.c b/src/gba/gba.c index b195ea611..d33c7510a 100644 --- a/src/gba/gba.c +++ b/src/gba/gba.c @@ -734,14 +734,14 @@ void GBAHitStub(struct ARMCore* cpu, uint32_t opcode) { 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) { struct mDebuggerEntryInfo info = {