From 03a42aa707114af4973e8d6ee41d7161438282d9 Mon Sep 17 00:00:00 2001 From: Marko Lukat Date: Wed, 21 Oct 2015 14:24:45 +0200 Subject: [PATCH] [kuroneko] use only div instead of multdiv --- SID.play/!RunImage.spin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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