Merge pull request #8548 from jordan-woyak/wiimote-source-cleanup

Core/WiimoteReal: Wii remote connection pool and source change cleanup.
This commit is contained in:
Tilka
2020-01-25 23:04:50 +00:00
committed by GitHub
11 changed files with 181 additions and 105 deletions

View File

@ -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);