Core/NetPlayClient: Reset GCAdapter device type in UpdateDevices

This will ensure an origin reset is triggered on next boot.
This commit is contained in:
Techjar 2019-04-13 06:31:10 -04:00
parent 635fd8c22c
commit 6d01f34d78
1 changed files with 5 additions and 0 deletions

View File

@ -1650,6 +1650,11 @@ void NetPlayClient::UpdateDevices()
if (SerialInterface::SIDevice_IsGCController(SConfig::GetInstance().m_SIDevice[local_pad]))
{
SerialInterface::ChangeDevice(SConfig::GetInstance().m_SIDevice[local_pad], pad);
if (SConfig::GetInstance().m_SIDevice[local_pad] == SerialInterface::SIDEVICE_WIIU_ADAPTER)
{
GCAdapter::ResetDeviceType(local_pad);
}
}
else
{