Qt: Fix regression with held reverse breaking (fixes #78)

This commit is contained in:
Jeffrey Pfau 2015-08-07 19:10:08 -07:00
parent 9a5ac0bf72
commit c39be359df
1 changed files with 3 additions and 3 deletions

View File

@ -533,9 +533,9 @@ void GameController::startRewinding() {
return; return;
} }
m_wasPaused = isPaused(); m_wasPaused = isPaused();
bool signalsBlocked = blockSignals(true); if (!GBAThreadIsPaused(&m_threadContext)) {
setPaused(true); GBAThreadPause(&m_threadContext);
blockSignals(signalsBlocked); }
m_rewindTimer.start(); m_rewindTimer.start();
} }