mirror of https://github.com/mgba-emu/mgba.git
Log SWIs in debug
This commit is contained in:
parent
599537a41b
commit
d6a28c8a6e
|
@ -103,6 +103,8 @@ static void _MidiKey2Freq(struct GBA* gba) {
|
||||||
|
|
||||||
void GBASwi16(struct ARMCore* cpu, int immediate) {
|
void GBASwi16(struct ARMCore* cpu, int immediate) {
|
||||||
struct GBA* gba = (struct GBA*) cpu->master;
|
struct GBA* gba = (struct GBA*) cpu->master;
|
||||||
|
GBALog(gba, GBA_LOG_DEBUG, "SWI: %02x", immediate);
|
||||||
|
|
||||||
if (gba->memory.fullBios) {
|
if (gba->memory.fullBios) {
|
||||||
ARMRaiseSWI(cpu);
|
ARMRaiseSWI(cpu);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue