bootmanager: update the supposed-end-of-enum
fixes a bug where gcadapter would fuck up netplay
This commit is contained in:
parent
24cb6487d4
commit
aaf2be2044
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue