mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
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;
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user