mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-27 17:29:49 +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
|
eor #$1 ; toggle
|
||||||
sta note_a+NOTE_ENABLED,X
|
sta note_a+NOTE_ENABLED,X
|
||||||
|
|
||||||
.byte $a9 ;mask do_onoff
|
beq do_offon
|
||||||
do_onoff:
|
do_onoff:
|
||||||
dex ; select ONOFF
|
ldy note_a+NOTE_ONOFF_DELAY,X ; if (a->enabled) a->onoff=a->onoff_delay;
|
||||||
;lda note_a+NOTE_ONOFF_DELAY,X ; if (a->enabled) a->onoff=a->onoff_delay;
|
off_delay:
|
||||||
|
jmp put_offon
|
||||||
do_offon:
|
do_offon:
|
||||||
ldy note_a+NOTE_OFFON_DELAY,X ; else a->onoff=a->offon_delay;
|
ldy note_a+NOTE_OFFON_DELAY,X ; else a->onoff=a->offon_delay;
|
||||||
put_offon:
|
put_offon:
|
||||||
|
; tya
|
||||||
sty note_a+NOTE_ONOFF,X
|
sty note_a+NOTE_ONOFF,X
|
||||||
|
|
||||||
.endif
|
.endif
|
||||||
|
Loading…
Reference in New Issue
Block a user