Log SWIs in debug
Jeffrey Pfau jeffrey@endrift.com
Fri, 04 Jul 2014 18:17:34 -0700
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
src/gba/gba-bios.c
→
src/gba/gba-bios.c
@@ -103,6 +103,8 @@ }
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;