Skip to content

Commit

Permalink
Enabled portamento for chan 2 and 4
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonLarsen committed Aug 1, 2015
1 parent 6171df7 commit 521353d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions driver/music.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,9 @@ void mus_update2() {
mus_rep_depth2--;
}
break;
case T_PORTAMENTO:
mus_slide2 = *mus_data2++;
break;
case T_EOF:
mus_data2 = mus_loop2;
if(*mus_data2 == T_EOF) {
Expand Down Expand Up @@ -417,6 +420,9 @@ void mus_update3() {
mus_rep_depth3--;
}
break;
case T_PORTAMENTO:
mus_data3++;
break;
case T_EOF:
mus_data3 = mus_loop3;
if(*mus_data3 == T_EOF) {
Expand Down Expand Up @@ -526,6 +532,9 @@ void mus_update4() {
mus_rep_depth4--;
}
break;
case T_PORTAMENTO:
mus_slide4 = *mus_data4++;
break;
case T_EOF:
mus_data4 = mus_loop4;
if(*mus_data4 == T_EOF) {
Expand Down

0 comments on commit 521353d

Please sign in to comment.