Skip to content

Commit

Permalink
Enable pitch sliding in linear pitch mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Gumball2415 committed Apr 11, 2024
1 parent 4a4582f commit 6ee2084
Show file tree
Hide file tree
Showing 9 changed files with 2,443 additions and 2,463 deletions.
11 changes: 0 additions & 11 deletions Source/drivers/asm/effects.s
Original file line number Diff line number Diff line change
Expand Up @@ -554,11 +554,6 @@ ft_portamento_down:
jmp ft_post_effects

ft_period_add:
.if .defined(USE_LINEARPITCH) ;;; ;; ;
lda var_SongFlags
and #FLAG_LINEARPITCH
bne :+
.endif ; ;; ;;;
clc
lda var_ch_TimerPeriodLo, x
adc var_Temp16
Expand All @@ -572,12 +567,6 @@ ft_period_add:
sta var_ch_TimerPeriodHi, x
: rts
ft_period_remove:
.if .defined(USE_LINEARPITCH) ;;; ;; ;
lda var_SongFlags
padjmp_h 8
and #FLAG_LINEARPITCH
bne :+
.endif ; ;; ;;;
sec
lda var_ch_TimerPeriodLo, x
sbc var_Temp16
Expand Down
501 changes: 250 additions & 251 deletions Source/drivers/drv_2a03.h

Large diffs are not rendered by default.

1,002 changes: 500 additions & 502 deletions Source/drivers/drv_all.h

Large diffs are not rendered by default.

589 changes: 294 additions & 295 deletions Source/drivers/drv_fds.h

Large diffs are not rendered by default.

513 changes: 256 additions & 257 deletions Source/drivers/drv_mmc5.h

Large diffs are not rendered by default.

591 changes: 295 additions & 296 deletions Source/drivers/drv_n163.h

Large diffs are not rendered by default.

535 changes: 267 additions & 268 deletions Source/drivers/drv_s5b.h

Large diffs are not rendered by default.

549 changes: 274 additions & 275 deletions Source/drivers/drv_vrc6.h

Large diffs are not rendered by default.

615 changes: 307 additions & 308 deletions Source/drivers/drv_vrc7.h

Large diffs are not rendered by default.

0 comments on commit 6ee2084

Please sign in to comment.