Merge pull request #4950 from leoetlino/set-remotes-before-booting

Netplay: Change Wiimote sources before booting
This commit is contained in:
Anthony 2017-02-23 13:13:13 -08:00 committed by GitHub
commit fb8369d0e0
1 changed files with 3 additions and 8 deletions

View File

@ -820,16 +820,11 @@ bool NetPlayClient::StartGame(const std::string& path)
Movie::BeginRecordingInput(controllers_mask);
}
// boot game
m_dialog->BootGame(path);
if (SConfig::GetInstance().bWii)
{
for (unsigned int i = 0; i < 4; ++i)
WiimoteReal::ChangeWiimoteSource(i,
m_wiimote_map[i] > 0 ? WIIMOTE_SRC_EMU : WIIMOTE_SRC_NONE);
}
WiimoteReal::ChangeWiimoteSource(i, m_wiimote_map[i] > 0 ? WIIMOTE_SRC_EMU : WIIMOTE_SRC_NONE);
// boot game
m_dialog->BootGame(path);
UpdateDevices();