mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix regression with held reverse breaking (fixes #78)
This commit is contained in:
parent
9a5ac0bf72
commit
c39be359df
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue