From: Shamus Hammons Date: Wed, 11 Feb 2009 05:04:18 +0000 (+0000) Subject: This time, for sure! X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=stargem2;a=commitdiff_plain;h=f84e14d43ea0dff77d4b216b50e5de5b1d2efabc This time, for sure! --- 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;