From f15c5a2f315a8862c41b70b7bdb23d6e5ccbe6ce Mon Sep 17 00:00:00 2001 From: Shamus Hammons Date: Tue, 16 Sep 2003 00:02:50 +0000 Subject: [PATCH] Wrapped a developer message in #ifdef --- src/jerry.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jerry.cpp b/src/jerry.cpp index 8226262..f36374f 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 } } -- 2.37.2