diff --git a/SID.play/!RunImage.spin b/SID.play/!RunImage.spin index 6714f23..2702f96 100644 --- a/SID.play/!RunImage.spin +++ b/SID.play/!RunImage.spin @@ -30,7 +30,7 @@ PUB main : t | delta processSID(string("built-in:0")) - delta := util.multdiv(clkfreq, 256, trunc(sidcog#C64_CLOCK_FREQ)) + delta := util.div(clkfreq >> 24, clkfreq << 8, trunc(sidcog#C64_CLOCK_FREQ)) t := cnt repeat @@ -121,4 +121,4 @@ DAT SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. }} -DAT \ No newline at end of file +DAT