Skip to content

Commit

Permalink
Fixed derp in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Clownacy committed Feb 25, 2018
1 parent 4698542 commit d055f9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sound/Z80 Sound Driver.asm
Original file line number Diff line number Diff line change
Expand Up @@ -2327,6 +2327,7 @@ zGetSFXChannelPointers:
rlca
rlca
and 7
add a, 3 ; Compensate for subtraction below
else
ld a, 1Fh ; a = 1Fh (redundant, as this is the first instruction of the function)
call zSilencePSGChannel ; Silence channel at ix
Expand All @@ -2341,8 +2342,8 @@ zGetSFXChannelPointers:
srl a
srl a
srl a
add a, 2 ; Compensate for subtraction below
endif
add a, 3 ; Compensate for subtraction below

.get_ptrs:
sub 2 ; Start table at FM3
Expand Down

0 comments on commit d055f9e

Please sign in to comment.