diff options
Diffstat (limited to 'src-z80/player/psg.z80')
| -rw-r--r-- | src-z80/player/psg.z80 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src-z80/player/psg.z80 b/src-z80/player/psg.z80 index f0c5a76..b88978c 100644 --- a/src-z80/player/psg.z80 +++ b/src-z80/player/psg.z80 @@ -46,7 +46,7 @@ UpdatePSG: cp $FF ; Loop envelope? jp z, .envloop - ld iyl, b ; Keep byte safe somewhere... + ld iyl, b ; Keep byte safe somewhere... PollPCM ex de, hl ; Store new address @@ -61,6 +61,7 @@ UpdatePSG: PollPCM db $FD,$7D ; ld a, iyl ; Mix envelope with volume + and $0F add b ld b, a |
