From 0a7a3aef0e4a0c33c10df978be44fea8d6c59926 Mon Sep 17 00:00:00 2001 From: JMC47 Date: Sat, 23 Jul 2016 04:33:45 -0400 Subject: [PATCH] Removes fake wiimote data that was causing desyncs. --- Source/Core/Core/NetPlayClient.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Source/Core/Core/NetPlayClient.cpp b/Source/Core/Core/NetPlayClient.cpp index 70d6b7ba14..9d974d3342 100644 --- a/Source/Core/Core/NetPlayClient.cpp +++ b/Source/Core/Core/NetPlayClient.cpp @@ -820,18 +820,6 @@ bool NetPlayClient::StartGame(const std::string& path) for (unsigned int i = 0; i < 4; ++i) WiimoteReal::ChangeWiimoteSource(i, m_wiimote_map[i] > 0 ? WIIMOTE_SRC_EMU : WIIMOTE_SRC_NONE); - - // Needed to prevent locking up at boot if (when) the wiimotes connect out of order. - NetWiimote nw; - nw.resize(4, 0); - - for (unsigned int w = 0; w < 4; ++w) - { - if (m_wiimote_map[w] != -1) - // probably overkill, but whatever - for (unsigned int i = 0; i < 7; ++i) - m_wiimote_buffer[w].Push(nw); - } } UpdateDevices();