all repos — mgba @ a067bca33240718ad65cb3f3cd30dc35d195181d

mGBA Game Boy Advance Emulator

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

a067bca33240718ad65cb3f3cd30dc35d195181d

parent

65b4a76952d5e1cb5e9c3cd031517622851891f1

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

jump to
M CHANGESCHANGES

@@ -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.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;