Skip to content

Commit

Permalink
Add a sound driver optimisation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Clownacy committed Sep 15, 2023
1 parent b8858e7 commit 8a2d65d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions s2.sounddriver.asm
Original file line number Diff line number Diff line change
Expand Up @@ -2628,8 +2628,12 @@ zSlowDownMusic:
ld a,(zAbsVar.1upPlaying)
or a
ld a,(zAbsVar.TempoMod)
if OptimiseDriver
jr nz,zSetTempo_1up
else
jr z,zSetTempo
jr zSetTempo_1up
endif

; ===========================================================================
; helper routines for changing the tempo
Expand Down

0 comments on commit 8a2d65d

Please sign in to comment.