From d9db9315ffca0bbc29a012c139fb2c23cf80248c Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Wed, 16 Sep 2015 00:20:38 -0700 Subject: [PATCH] Qt: Disable rewinding when in multiplayer --- src/platform/qt/GameController.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/platform/qt/GameController.cpp b/src/platform/qt/GameController.cpp index b64d89193..1bae41ba5 100644 --- a/src/platform/qt/GameController.cpp +++ b/src/platform/qt/GameController.cpp @@ -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);