Qt: Fix crash when adjusting settings after closing a game
Jeffrey Pfau jeffrey@endrift.com
Sat, 21 Feb 2015 01:59:33 -0800
2 files changed,
2 insertions(+),
1 deletions(-)
M
CHANGES
→
CHANGES
@@ -41,6 +41,7 @@ - GBA RR: Fix fallthrough error when reading tags from a movie
- GBA Thread: Fix possible deadlock in video sync - GBA: Fix savestate loading of DISPSTAT and WAITCNT registers - Qt: Fix crash starting a GDB stub if a game isn't loaded + - Qt: Fix crash when adjusting settings after closing a game Misc: - GBA Audio: Change internal audio sample buffer from 32-bit to 16-bit samples - GBA Memory: Simplify memory API and use fixed bus width
M
src/platform/qt/AudioDevice.cpp
→
src/platform/qt/AudioDevice.cpp
@@ -22,7 +22,7 @@ setOpenMode(ReadOnly);
} void AudioDevice::setFormat(const QAudioFormat& format) { - if (!GBAThreadHasStarted(m_context)) { + if (!GBAThreadIsActive(m_context)) { return; } #if RESAMPLE_LIBRARY == RESAMPLE_NN