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;
|
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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue