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

View File

@ -269,7 +269,7 @@ bool BootCore(const std::string& _rFilename)
{
int source;
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;
config_cache.bSetPads[i] = true;