all repos — mgba @ 5a08abacf126476d81215c87ab499d6d25cc6c8e

mGBA Game Boy Advance Emulator

Qt: Fix audio context holding onto closed game controller
Vicki Pfau vi@endrift.com
Sat, 16 Feb 2019 16:54:41 -0800
commit

5a08abacf126476d81215c87ab499d6d25cc6c8e

parent

063375806f7365b7efcc9cc8f9bc50704a73d65a

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

jump to
M CHANGESCHANGES

@@ -11,6 +11,7 @@ - Qt: Fix tile and sprite views not always displaying at first

- GBA Memory: Fix a few AGBPrint crashes - GBA Memory: Fix OOB ROM reads showing up as AGBPrint memory - GB Serialize: Fix loading states with negative pixel x (fixes mgba.io/i/1293) + - Qt: Fix audio context holding onto closed game controller Misc: - GBA Savedata: EEPROM performance fixes - GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -797,6 +797,11 @@

m_fpsTimer.stop(); m_focusCheck.stop(); + if (m_audioProcessor) { + m_audioProcessor->stop(); + m_audioProcessor.reset(); + } + emit paused(false); }