Merge pull request #4950 from leoetlino/set-remotes-before-booting
Netplay: Change Wiimote sources before booting
This commit is contained in:
commit
fb8369d0e0
|
@ -820,17 +820,12 @@ bool NetPlayClient::StartGame(const std::string& path)
|
||||||
Movie::BeginRecordingInput(controllers_mask);
|
Movie::BeginRecordingInput(controllers_mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (unsigned int i = 0; i < 4; ++i)
|
||||||
|
WiimoteReal::ChangeWiimoteSource(i, m_wiimote_map[i] > 0 ? WIIMOTE_SRC_EMU : WIIMOTE_SRC_NONE);
|
||||||
|
|
||||||
// boot game
|
// boot game
|
||||||
|
|
||||||
m_dialog->BootGame(path);
|
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);
|
|
||||||
}
|
|
||||||
|
|
||||||
UpdateDevices();
|
UpdateDevices();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue