mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-27 02:31:00 +00:00
pt3: fix vibrato bug in the invariant case too
This commit is contained in:
parent
8a819939ed
commit
b5635577a2
@ -919,13 +919,15 @@ handle_onoff:
|
||||
eor #$1 ; toggle
|
||||
sta note_a+NOTE_ENABLED,X
|
||||
|
||||
.byte $a9 ;mask do_onoff
|
||||
beq do_offon
|
||||
do_onoff:
|
||||
dex ; select ONOFF
|
||||
;lda note_a+NOTE_ONOFF_DELAY,X ; if (a->enabled) a->onoff=a->onoff_delay;
|
||||
ldy note_a+NOTE_ONOFF_DELAY,X ; if (a->enabled) a->onoff=a->onoff_delay;
|
||||
off_delay:
|
||||
jmp put_offon
|
||||
do_offon:
|
||||
ldy note_a+NOTE_OFFON_DELAY,X ; else a->onoff=a->offon_delay;
|
||||
put_offon:
|
||||
; tya
|
||||
sty note_a+NOTE_ONOFF,X
|
||||
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user