all repos — mgba @ e982fbc9e2f1195ad7cf917f46eebf95f09cc48e

mGBA Game Boy Advance Emulator

Qt: Fix patch loading
Jeffrey Pfau jeffrey@endrift.com
Fri, 30 Sep 2016 09:09:55 -0700
commit

e982fbc9e2f1195ad7cf917f46eebf95f09cc48e

parent

a93f3745a8c8b1c2d007c39b9a56b811d093e739

2 files changed, 3 insertions(+), 2 deletions(-)

jump to
M CHANGESCHANGES

@@ -24,6 +24,7 @@ - GB MBC: Fix RTC access when no save file is loaded

- GB: Properly clear KEY1 bit 0 when switching speeds - 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.cppsrc/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;