From c39be359df21c462b110ab049608c6e7e1e5aef8 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Fri, 7 Aug 2015 19:10:08 -0700 Subject: [PATCH] Qt: Fix regression with held reverse breaking (fixes #78) --- src/platform/qt/GameController.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/platform/qt/GameController.cpp b/src/platform/qt/GameController.cpp index a5a345cfe..6432a2ba6 100644 --- a/src/platform/qt/GameController.cpp +++ b/src/platform/qt/GameController.cpp @@ -533,9 +533,9 @@ void GameController::startRewinding() { return; } m_wasPaused = isPaused(); - bool signalsBlocked = blockSignals(true); - setPaused(true); - blockSignals(signalsBlocked); + if (!GBAThreadIsPaused(&m_threadContext)) { + GBAThreadPause(&m_threadContext); + } m_rewindTimer.start(); }