Skip to content

Commit

Permalink
Removing redundant instruction from sound driver bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Clownacy committed Dec 13, 2015
1 parent 0bdf324 commit 367f1be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions s2.sounddriver.asm
Expand Up @@ -2318,8 +2318,7 @@ zInitMusicPlayback:
ld de,zTrack.len
ld hl,zFMDACInitBytes ; This continues into zPSGInitBytes

- ld (ix+zTrack.PlaybackControl),02h ; Set 'track at rest' bit to avoid hanging notes
ld a,(hl)
- ld a,(hl)
inc hl
ld (ix+zTrack.VoiceControl),a ; Set channel type while we're at it, so subroutines understand what the track is
add ix,de ; Next track
Expand Down

0 comments on commit 367f1be

Please sign in to comment.