X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fsound.cpp;fp=src%2Fsound.cpp;h=281aee286f8894a56175a9141a9cf26a8aa54085;hb=f84e14d43ea0dff77d4b216b50e5de5b1d2efabc;hp=6f06dcde7787e80b28a82eed222a6ceb45fda51a;hpb=020e517dc5cf78b1f20e17f0e3f3811d8e78ab62;p=stargem2 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;