mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix audio context holding onto closed game controller
This commit is contained in:
parent
cb238a1567
commit
fa6583051e
1
CHANGES
1
CHANGES
|
@ -5,6 +5,7 @@ Bugfixes:
|
||||||
- GBA Memory: Fix a few AGBPrint crashes
|
- GBA Memory: Fix a few AGBPrint crashes
|
||||||
- GBA Memory: Fix OOB ROM reads showing up as AGBPrint memory
|
- 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)
|
- GB Serialize: Fix loading states with negative pixel x (fixes mgba.io/i/1293)
|
||||||
|
- Qt: Fix audio context holding onto closed game controller
|
||||||
Misc:
|
Misc:
|
||||||
- GBA Video: Improve sprite cycle counting (fixes mgba.io/i/1274)
|
- GBA Video: Improve sprite cycle counting (fixes mgba.io/i/1274)
|
||||||
|
|
||||||
|
|
|
@ -795,6 +795,11 @@ void Window::gameStopped() {
|
||||||
m_fpsTimer.stop();
|
m_fpsTimer.stop();
|
||||||
m_focusCheck.stop();
|
m_focusCheck.stop();
|
||||||
|
|
||||||
|
if (m_audioProcessor) {
|
||||||
|
m_audioProcessor->stop();
|
||||||
|
m_audioProcessor.reset();
|
||||||
|
}
|
||||||
|
|
||||||
emit paused(false);
|
emit paused(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue