all repos — mgba @ fa6583051e8c17cbe5f0111f0882595e8f40381b

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

fa6583051e8c17cbe5f0111f0882595e8f40381b

parent

cb238a1567c320ec04a8df09bbe8c2ebb1936767

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

jump to
M CHANGESCHANGES

@@ -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.cppsrc/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); }