Fix frame advance
Jeffrey Pfau jeffrey@endrift.com
Tue, 22 Jul 2014 02:11:41 -0700
1 files changed,
2 insertions(+),
1 deletions(-)
M
src/platform/qt/GameController.cpp
→
src/platform/qt/GameController.cpp
@@ -54,8 +54,9 @@ m_threadContext.frameCallback = [] (GBAThread* context) {
GameController* controller = static_cast<GameController*>(context->userData); controller->m_pauseMutex.lock(); if (controller->m_pauseAfterFrame) { - GBAThreadPause(context); + GBAThreadPauseFromThread(context); controller->m_pauseAfterFrame = false; + controller->gamePaused(&controller->m_threadContext); } controller->m_pauseMutex.unlock(); controller->frameAvailable(controller->m_drawContext);