X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fdsp.cpp;h=ee1cdb79da49da268858fa88f7b3b58ca8c0dbce;hb=dadebc1a7525d196d5ee406be7b9d804d5f9945d;hp=d321d47b27339f3acb825685296f4dba8d17c7bd;hpb=10f249cb763ddc00cd80e1d47940784e25d3e4a7;p=virtualjaguar diff --git a/src/dsp.cpp b/src/dsp.cpp index d321d47..ee1cdb7 100644 --- a/src/dsp.cpp +++ b/src/dsp.cpp @@ -25,7 +25,7 @@ #include "jaguar.h" #include "jerry.h" #include "log.h" -#include "m68k.h" +#include "m68000/m68kinterface.h" //#include "memory.h" @@ -814,6 +814,9 @@ SET32(ram2, offset, data); // IRQs on J_INT ($F10020), you don't have to run an I2S interrupt on the DSP. Also, // It seems that it's only stable for values of SCLK <= 9. +// All of the preceeding is moot now; we run the DSP in the host audio IRQ. This means +// that we don't actually need this stuff anymore. :-D +#if 0 if (data & INT_ENA1) // I2S interrupt { int freq = GetCalculatedFrequency(); @@ -828,6 +831,7 @@ SET32(ram2, offset, data); // WriteLog("DSP: Setting audio freqency to %u Hz...\n", freq); DACSetNewFrequency(freq); } +#endif /* if (IMASKCleared) // If IMASK was cleared, #ifdef DSP_DEBUG_IRQ