Qt: Disable rewinding when in multiplayer

This commit is contained in:
Jeffrey Pfau 2015-09-16 00:20:38 -07:00
parent aae0efbd09
commit 822df237a3
1 changed files with 3 additions and 0 deletions

View File

@ -534,6 +534,9 @@ void GameController::startRewinding() {
if (!m_gameOpen || m_rewindTimer.isActive()) {
return;
}
if (m_multiplayer && m_multiplayer->attached() > 1) {
return;
}
m_wasPaused = isPaused();
if (!GBAThreadIsPaused(&m_threadContext)) {
GBAThreadPause(&m_threadContext);