From aaf2be2044a0ba0256c6583d1a4e095a32db00c5 Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 27 Jan 2016 00:57:02 +0100 Subject: [PATCH] bootmanager: update the supposed-end-of-enum fixes a bug where gcadapter would fuck up netplay --- Source/Core/Core/BootManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/BootManager.cpp b/Source/Core/Core/BootManager.cpp index d2e3819651..0e059bd2ab 100644 --- a/Source/Core/Core/BootManager.cpp +++ b/Source/Core/Core/BootManager.cpp @@ -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;