fix issue with 3DS music not playing after entering the game 3 times

This commit is contained in:
camthehaxman 2024-01-18 18:01:39 -06:00
parent 13965dbf2a
commit a41fda79da

View File

@ -791,6 +791,7 @@ void Audio_Close(struct AudioContext* ctx) {
if (ctx->used) {
ndspChnWaveBufClear(ctx->chanID);
ctx->channels &= ~(1 << ctx->chanID);
channelIDs &= ~(1 << ctx->chanID);
}
ctx->used = false;