]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/event.cpp
Fixes for the 68K IRQ system. There's probably a little more to do though.
[virtualjaguar] / src / event.cpp
index 734ad87bdad92709038988cd0d3cb461a64e6c19..e0daebb78559725d5f8dff3e85859ac352ea5a41 100644 (file)
@@ -2,6 +2,15 @@
 // System time handlers
 //
 // by James L. Hammons
+// (C) 2010 Underground Software
+//
+// JLH = James L. Hammons <jlhamm@acm.org>
+//
+// Who  When        What
+// ---  ----------  -------------------------------------------------------------
+// JLH  01/16/2010  Created this log ;-)
+//
+
 //
 // STILL TO DO:
 //
@@ -228,7 +237,7 @@ void TOMPITCallback(void)
     GPUSetIRQLine(GPUIRQ_TIMER, ASSERT_LINE);  // It does the 'IRQ enabled' checking
 
     if (INT1_WREG & 0x08)
-        m68k_set_irq(7);                       // Generate 68K NMI
+        m68k_set_irq(2);                       // Generate 68K NMI
 
     TOMResetPIT();
 }