aboutsummaryrefslogtreecommitdiff
path: root/src-z80/player/fm.z80
diff options
context:
space:
mode:
Diffstat (limited to 'src-z80/player/fm.z80')
-rw-r--r--src-z80/player/fm.z802
1 files changed, 1 insertions, 1 deletions
diff --git a/src-z80/player/fm.z80 b/src-z80/player/fm.z80
index eb28d9c..558a01d 100644
--- a/src-z80/player/fm.z80
+++ b/src-z80/player/fm.z80
@@ -613,13 +613,13 @@ SetFMParamSFX:
SetFMParamBGM:
ld b, a
PollPCM
- ld a, b
ld a, b ; Determine which port to write
and $04
rrca
ld iyl, a
+ ld a, b
ex af, af'
PollPCM
call GetParam ; Get parameters