mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 21:30:19 -06:00
bootmanager: update the supposed-end-of-enum
fixes a bug where gcadapter would fuck up netplay
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user