Qt: Fix audio context holding onto closed game controller
Vicki Pfau vi@endrift.com
Sat, 16 Feb 2019 16:54:41 -0800
2 files changed,
6 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -5,6 +5,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 Video: Improve sprite cycle counting (fixes mgba.io/i/1274)
M
src/platform/qt/Window.cpp
→
src/platform/qt/Window.cpp
@@ -795,6 +795,11 @@
m_fpsTimer.stop(); m_focusCheck.stop(); + if (m_audioProcessor) { + m_audioProcessor->stop(); + m_audioProcessor.reset(); + } + emit paused(false); }