X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fjerry.cpp;h=27c3cab25d8c381b43216ec87932a2e6a533bc7c;hb=99606fecf072b71d3aa79164ac4f74b660e40a1b;hp=8226262f6433c46043abf6650635ab821b82c991;hpb=67a5f1a40072983cf87ae2093ca95c271d14e706;p=virtualjaguar diff --git a/src/jerry.cpp b/src/jerry.cpp index 8226262..27c3cab 100644 --- a/src/jerry.cpp +++ b/src/jerry.cpp @@ -193,8 +193,10 @@ void jerry_i2s_exec(uint32 cycles) { DSPSetIRQLine(DSPIRQ_SSI, ASSERT_LINE); jerry_i2s_interrupt_timer += jerryI2SCycles; +#ifdef JERRY_DEBUG if (jerry_i2s_interrupt_timer < 0) WriteLog("JERRY: Missed generating an interrupt (missed %u)!\n", (-jerry_i2s_interrupt_timer / jerryI2SCycles) + 1); +#endif } } @@ -231,7 +233,7 @@ void jerry_reset_timer_2(void) // WriteLog("jerry: reseting timer 2 to 0x%.8x (%i)\n",jerry_timer_2_counter,jerry_timer_2_counter); } -void jerry_pit_exec(uint32 cycles) +void JERRYExecPIT(uint32 cycles) { if (jerry_timer_1_counter) jerry_timer_1_counter -= cycles;