From 822df237a3e927e3dec634b5f2db71aedf155081 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 8f3d6678c..68023a07a 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);