Log SWIs in debug

This commit is contained in:
Jeffrey Pfau 2014-07-04 18:17:34 -07:00
parent 599537a41b
commit d6a28c8a6e
1 changed files with 2 additions and 0 deletions

View File

@ -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;