Log IRQ enable on debug trace

This commit is contained in:
OV2 2012-06-02 17:34:16 +02:00
parent d23302de8a
commit ea09fef2b9
1 changed files with 5 additions and 0 deletions

View File

@ -1498,6 +1498,11 @@ void S9xSetCPU (uint8 Byte, uint16 Address)
Timings.NMITriggerPos = CPU.Cycles + 6 + 6; Timings.NMITriggerPos = CPU.Cycles + 6 + 6;
} }
#ifdef DEBUGGER
S9xTraceFormattedMessage("--- IRQ Timer Enable HTimer:%d Pos:%04d VTimer:%d Pos:%03d",
PPU.HTimerEnabled, PPU.HTimerPosition, PPU.VTimerEnabled, PPU.VTimerPosition);
#endif
break; break;
case 0x4201: // WRIO case 0x4201: // WRIO