From 099cd41167668c6f607b42f39562fc01dee212bd Mon Sep 17 00:00:00 2001 From: Clownacy Date: Wed, 20 Apr 2022 00:38:36 +0100 Subject: [PATCH] Correct a sound driver comment The condition is only backwards because the comparison is backwards. The behaviour is the exact same, --- s2.sounddriver.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s2.sounddriver.asm b/s2.sounddriver.asm index 0fe85005..c28072ef 100644 --- a/s2.sounddriver.asm +++ b/s2.sounddriver.asm @@ -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