Skip to content

Commit

Permalink
Correct a sound driver comment
Browse files Browse the repository at this point in the history
The condition is only backwards because the comparison is backwards.
The behaviour is the exact same,
  • Loading branch information
Clownacy committed Apr 19, 2022
1 parent 93dfdc0 commit 099cd41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s2.sounddriver.asm
Original file line number Diff line number Diff line change
Expand Up @@ -2405,7 +2405,7 @@ zUpdateFadeout:
inc (ix+zTrack.Volume) ; increment channel volume (remember -- higher is quieter!)
ld a,10h
cp (ix+zTrack.Volume) ; Don't let volume go over 0Fh on PSG tracks!
jp nc,.sendpsgvol ; This branch was inverted from Sonic 1's sound driver
jp nc,.sendpsgvol
res 7,(ix+zTrack.PlaybackControl) ; Otherwise, stop playing this track
jr .nextpsg

Expand Down

0 comments on commit 099cd41

Please sign in to comment.