bootmanager: update the supposed-end-of-enum

fixes a bug where gcadapter would fuck up netplay
This commit is contained in:
mathieui 2016-01-27 00:57:02 +01:00
parent 24cb6487d4
commit aaf2be2044
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ bool BootCore(const std::string& _rFilename)
{ {
int source; int source;
controls_section->Get(StringFromFormat("PadType%u", i), &source, -1); controls_section->Get(StringFromFormat("PadType%u", i), &source, -1);
if (source >= (int) SIDEVICE_NONE && source <= (int) SIDEVICE_AM_BASEBOARD) if (source >= (int) SIDEVICE_NONE && source <= (int) SIDEVICE_WIIU_ADAPTER)
{ {
SConfig::GetInstance().m_SIDevice[i] = (SIDevices) source; SConfig::GetInstance().m_SIDevice[i] = (SIDevices) source;
config_cache.bSetPads[i] = true; config_cache.bSetPads[i] = true;