Qt: Disable rewinding when in multiplayer
Jeffrey Pfau jeffrey@endrift.com
Wed, 16 Sep 2015 00:20:38 -0700
1 files changed,
3 insertions(+),
0 deletions(-)
M
src/platform/qt/GameController.cpp
→
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);