Skip to content

Commit 2dcd916

Browse files
committed
Cleanup LFO register during YM2610 reset
1 parent 9d0ff48 commit 2dcd916

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

nullsound/ym2610.s

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,11 @@ _release_ops:
196196
ld c, #YM2610_FM4
197197
call ym2610_write_port_a
198198

199+
;; clear FM LFO setting
200+
ld b, #REG_FM_LFO_CONTROL
201+
ld c, #0
202+
call ym2610_write_port_a
203+
199204
;; stop SSG output
200205
ld b, #REG_SSG_A_VOLUME
201206
ld c, #0

0 commit comments

Comments
 (0)