mirror of https://github.com/mgba-emu/mgba.git
SDL: Fix sporadic crash when deinitializing audio
This commit is contained in:
parent
7e20072ba1
commit
51f91685e2
1
CHANGES
1
CHANGES
|
@ -23,6 +23,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
|
||||
|
|
|
@ -144,6 +144,7 @@ int main(int argc, char** argv) {
|
|||
#endif
|
||||
if (GBAThreadStart(&context)) {
|
||||
renderer.runloop(&context, &renderer);
|
||||
GBASDLPauseAudio(&renderer.audio);
|
||||
GBAThreadJoin(&context);
|
||||
} else {
|
||||
didFail = true;
|
||||
|
|
Loading…
Reference in New Issue