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;
}
m_wasPaused = isPaused();
bool signalsBlocked = blockSignals(true);
setPaused(true);
blockSignals(signalsBlocked);
if (!GBAThreadIsPaused(&m_threadContext)) {
GBAThreadPause(&m_threadContext);
}
m_rewindTimer.start();
}