X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdsp.cpp;h=c0fd60387925b1e6821fc7005bb7a6f985967e2a;hb=b74298f2a4540168f8e4a2bbc9fc6fdc7f4afa57;hp=604584ccae623021680f9506d817a1dc5c4cbcff;hpb=94e1e961b57f253b760298ab0bae96a7de6d20fa;p=virtualjaguar diff --git a/src/dsp.cpp b/src/dsp.cpp index 604584c..c0fd603 100644 --- a/src/dsp.cpp +++ b/src/dsp.cpp @@ -860,12 +860,13 @@ WriteLog("Write to DSP CTRL by %s: %08X\n", whoName[who], data); WriteLog("DSP: DSP -> CPU interrupt\n"); #endif // This was WRONG -// Why do we check for a valid handler at 64? Isn't that the Jag programmer's responsibility? +// Why do we check for a valid handler at 64? Isn't that the Jag programmer's responsibility? (YES) +#warning "!!! DSP IRQs that go to the 68K have to be routed thru TOM !!! FIX !!!" if (JERRYIRQEnabled(IRQ2_DSP))// && jaguar_interrupt_handler_is_valid(64)) { JERRYSetPendingIRQ(IRQ2_DSP); DSPReleaseTimeslice(); - m68k_set_irq(7); // Set 68000 NMI... + m68k_set_irq(2); // Set 68000 IPL 2... } data &= ~CPUINT; }