Skip to content

Commit

Permalink
[kuroneko] use only div instead of multdiv
Browse files Browse the repository at this point in the history
  • Loading branch information
konimaru committed Oct 21, 2015
1 parent 95e2469 commit 03a42aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SID.play/!RunImage.spin
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -121,4 +121,4 @@ DAT
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
}}
DAT
DAT

0 comments on commit 03a42aa

Please sign in to comment.