mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
Core/WiimoteReal: Make wiimote source type an enum class and add Get/SetWiimoteSource functions. Add connected real Wii Remotes to a pool when a slot is not available.
This commit is contained in:
@ -1510,7 +1510,10 @@ 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);
|
||||
{
|
||||
WiimoteCommon::SetSource(i,
|
||||
m_wiimote_map[i] > 0 ? WiimoteSource::Emulated : WiimoteSource::None);
|
||||
}
|
||||
|
||||
// boot game
|
||||
m_dialog->BootGame(path);
|
||||
|
Reference in New Issue
Block a user