Skip to content

Commit

Permalink
I'm so bad at error checking smh
Browse files Browse the repository at this point in the history
  • Loading branch information
piepie62 committed Jan 4, 2019
1 parent 811a8d0 commit d5ea171
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/utils/mixer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ void SDLH_Exit(void)
{
musicMutex = false;
}
else
{
donePlaying = true;
}
while (!donePlaying) svcSleepThread(125000000); // wait for SDLH_Play to be done
if (song)
{
Expand Down

0 comments on commit d5ea171

Please sign in to comment.