Qt: Fix patch loading
Jeffrey Pfau jeffrey@endrift.com
Fri, 30 Sep 2016 09:09:55 -0700
2 files changed,
3 insertions(+),
2 deletions(-)
M
CHANGES
→
CHANGES
@@ -27,6 +27,7 @@ - GB: Properly clear KEY1 bit 0 when switching speeds
- LR35902: Fix core never exiting with certain event patterns - GBA Cheats: Fix uninitialized memory getting freed when saving - GBA Memory: Fix several unused I/O register read values + - Qt: Fix patch loading Misc: - All: Only update version info if needed - FFmpeg: Encoding cleanup
M
src/platform/qt/GameController.cpp
→
src/platform/qt/GameController.cpp
@@ -573,6 +573,8 @@
if (mCoreThreadIsPaused(&m_threadContext)) { mCoreThreadUnpause(&m_threadContext); } + m_patch = QString(); + QMetaObject::invokeMethod(m_audioProcessor, "pause", Qt::BlockingQueuedConnection); mCoreThreadEnd(&m_threadContext); }@@ -585,8 +587,6 @@ mCoreThreadJoin(&m_threadContext);
delete[] m_drawContext; delete[] m_frontBuffer; - - m_patch = QString(); m_threadContext.core->deinit(m_threadContext.core); m_gameOpen = false;