- // This is close, but not cycle exact (exact would be 20.289115646...)
-
-//Need to figure out how to get that fraction to execute... !!! FIX !!! [DONE]
-/*
-One way would be to use a fractional accumulator, then subtract 1 every
-time it overflows. Like so:
-
-double overflow = 0;
-uint32 time = 20;
-while (!done)
-{
- Execute6808(&soundCPU, time);
- overflow += 0.289115646;
- if (overflow > 1.0)
- {
- overflow -= 1.0;
- time = 21;
- }
- else
- time = 20;
-}
-*/
-#ifdef CYCLE_EXACT_SOUND