diff --git a/CHANGES b/CHANGES index f4cca9f3f..2c6666774 100644 --- a/CHANGES +++ b/CHANGES @@ -29,6 +29,7 @@ Bugfixes: - Util: Fix realloc semantics in utf16to8 - ARM7: Fix setting spsr privilege bits when spsr is empty - GBA BIOS: Fix ArcTan2 accuracy and boundary conditions + - SDL: Fix sporadic crash when deinitializing audio Misc: - GBA: Slightly optimize GBAProcessEvents - Qt: Add preset for DualShock 4 diff --git a/src/platform/sdl/main.c b/src/platform/sdl/main.c index e0ad73eac..dab32bc10 100644 --- a/src/platform/sdl/main.c +++ b/src/platform/sdl/main.c @@ -185,6 +185,7 @@ int mSDLRun(struct mSDLRenderer* renderer, struct mArguments* args) { #endif if (mCoreThreadStart(&thread)) { renderer->runloop(renderer, &thread); + mSDLPauseAudio(&renderer->audio); mCoreThreadJoin(&thread); } else { didFail = true;