mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-13 09:35:23 -04:00
fix issue with 3DS music not playing after entering the game 3 times
This commit is contained in:
parent
13965dbf2a
commit
a41fda79da
@ -791,6 +791,7 @@ void Audio_Close(struct AudioContext* ctx) {
|
|||||||
if (ctx->used) {
|
if (ctx->used) {
|
||||||
ndspChnWaveBufClear(ctx->chanID);
|
ndspChnWaveBufClear(ctx->chanID);
|
||||||
ctx->channels &= ~(1 << ctx->chanID);
|
ctx->channels &= ~(1 << ctx->chanID);
|
||||||
|
channelIDs &= ~(1 << ctx->chanID);
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx->used = false;
|
ctx->used = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user