Merge pull request #7993 from Techjar/gc-adapter-calib-fix-fix

Core/NetPlayClient: Reset GCAdapter device type in UpdateDevices
This commit is contained in:
spycrab 2019-04-13 13:06:06 +02:00 committed by GitHub
commit 6e9f9e34f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
{