mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix audio context holding onto closed game controller
This commit is contained in:
parent
063375806f
commit
5a08abacf1
1
CHANGES
1
CHANGES
|
@ -11,6 +11,7 @@ Bugfixes:
|
|||
- 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
|
||||
|
|
|
@ -797,6 +797,11 @@ void Window::gameStopped() {
|
|||
m_fpsTimer.stop();
|
||||
m_focusCheck.stop();
|
||||
|
||||
if (m_audioProcessor) {
|
||||
m_audioProcessor->stop();
|
||||
m_audioProcessor.reset();
|
||||
}
|
||||
|
||||
emit paused(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue