SDL: Fix sporadic crash when deinitializing audio
Jeffrey Pfau jeffrey@endrift.com
Mon, 27 Jun 2016 22:17:13 -0700
2 files changed,
2 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -29,6 +29,7 @@ - ARM7: Fix flags on SBC/RSC
- 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
M
src/platform/sdl/main.c
→
src/platform/sdl/main.c
@@ -185,6 +185,7 @@ mSDLSuspendScreensaver(&renderer->events);
#endif if (mCoreThreadStart(&thread)) { renderer->runloop(renderer, &thread); + mSDLPauseAudio(&renderer->audio); mCoreThreadJoin(&thread); } else { didFail = true;