From b200e83b02967c55d6b04077f3b88b3efb3ecf85 Mon Sep 17 00:00:00 2001 From: skidau Date: Mon, 9 Mar 2015 08:32:14 +1100 Subject: Fixed the wiimote profiles not taking effect. --- Source/Core/DolphinWX/FrameTools.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Source/Core/DolphinWX/FrameTools.cpp') diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index fda4f4ee0e..ec28339369 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -1362,8 +1362,6 @@ void CFrame::OnConfigMenuCommands(wxCommandEvent& WXUNUSED(event)) void CFrame::OnConfigHotkey(wxCommandEvent& WXUNUSED (event)) { - bool was_init = false; - InputConfig* const hotkey_plugin = HotkeyManagerEmu::GetConfig(); // check if game is running @@ -1380,8 +1378,7 @@ void CFrame::OnConfigHotkey(wxCommandEvent& WXUNUSED (event)) m_ConfigFrame.ShowModal(); // Update references in case controllers were refreshed - if (SConfig::GetInstance().m_LocalCoreStartupParameter.bWii) - Wiimote::LoadConfig(); + Wiimote::LoadConfig(); Keyboard::LoadConfig(); Pad::LoadConfig(); HotkeyManagerEmu::LoadConfig(); -- cgit v1.2.3