diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2016-07-23 10:58:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-23 10:58:29 +0200 |
| commit | 048a4ce186aad43f712d09b9b6dbf9c2f15f96df (patch) | |
| tree | f813779930046e911b10e9154b50c634c3ef253b /Source/Core | |
| parent | 11fea215f1606c34a023afd349a15a72e4f38b6d (diff) | |
| parent | 0a7a3aef0e4a0c33c10df978be44fea8d6c59926 (diff) | |
Merge pull request #4051 from JMC47/WiimoteNetplay
Remove fake wiimote data that was causing desyncs.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/NetPlayClient.cpp | 12 |
1 files changed, 0 insertions, 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(); |
