Make input display work properly with netplay.

This commit is contained in:
Rachel Bryk
2014-09-22 11:45:54 -04:00
parent d4952c7637
commit e4d71f36b1
3 changed files with 11 additions and 1 deletions

View File

@ -117,7 +117,7 @@ std::string GetInputDisplay()
s_numPads = 0;
for (int i = 0; i < 4; ++i)
{
if (SConfig::GetInstance().m_SIDevice[i] == SIDEVICE_GC_CONTROLLER || SConfig::GetInstance().m_SIDevice[i] == SIDEVICE_GC_TARUKONGA)
if (SerialInterface::GetDeviceType(i) != SIDEVICE_NONE)
s_numPads |= (1 << i);
if (g_wiimote_sources[i] != WIIMOTE_SRC_NONE)
s_numPads |= (1 << (i + 4));