all repos — mgba @ fcd1ce8073f89581346e6ccdc15d3d538cac1655

mGBA Game Boy Advance Emulator

SDL: Fix sporadic crash when deinitializing audio
Jeffrey Pfau jeffrey@endrift.com
Mon, 27 Jun 2016 22:17:13 -0700
commit

fcd1ce8073f89581346e6ccdc15d3d538cac1655

parent

c82ee873e1f12b83b9017caeb3c872015ec38cde

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -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.csrc/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;