From f84e14d43ea0dff77d4b216b50e5de5b1d2efabc Mon Sep 17 00:00:00 2001 From: Shamus Hammons Date: Wed, 11 Feb 2009 05:04:18 +0000 Subject: [PATCH] This time, for sure! --- src/sound.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sound.cpp b/src/sound.cpp index 6f06dcd..281aee2 100755 --- a/src/sound.cpp +++ b/src/sound.cpp @@ -117,10 +117,11 @@ while (!done) */ #ifdef CYCLE_EXACT_SOUND Execute6808(&soundCPU, time); + soundCPU.clock -= time; #else Execute6808(&soundCPU, 20); -#endif soundCPU.clock -= 20; +#endif buffer[cnt++] = sram[0x0400]; // Fill the buffer with the PIA output value #ifdef CYCLE_EXACT_SOUND overflow += 0.289115646; -- 2.37.2