Skip to content

Commit

Permalink
xm64: fix reset of mixer limits on all mixer channels
Browse files Browse the repository at this point in the history
(cherry picked from commit ba28fbc)
  • Loading branch information
rasky committed Oct 24, 2024
1 parent 75a7fa7 commit 535d751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/xm64.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ void xm64player_close(xm64player_t *player) {
}
for (int i=0;i<player->ctx->module.num_channels;i++) {
mixer_ch_stop(player->first_ch+i);
mixer_ch_set_limits(player->first_ch, 0, 0, 0);
mixer_ch_set_limits(player->first_ch+i, 0, 0, 0);
}
enable_interrupts();

Expand Down

0 comments on commit 535d751

Please sign in to comment.