From d6a28c8a6e469a6f324740308ba1299186d54301 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Fri, 4 Jul 2014 18:17:34 -0700 Subject: [PATCH] Log SWIs in debug --- src/gba/gba-bios.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gba/gba-bios.c b/src/gba/gba-bios.c index b48f1c78d..4d31b0475 100644 --- a/src/gba/gba-bios.c +++ b/src/gba/gba-bios.c @@ -103,6 +103,8 @@ static void _MidiKey2Freq(struct GBA* gba) { void GBASwi16(struct ARMCore* cpu, int immediate) { struct GBA* gba = (struct GBA*) cpu->master; + GBALog(gba, GBA_LOG_DEBUG, "SWI: %02x", immediate); + if (gba->memory.fullBios) { ARMRaiseSWI(cpu); return;