summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/FrameTools.cpp
diff options
context:
space:
mode:
authorskidau <skidau@gmail.com>2015-03-09 08:32:14 +1100
committerskidau <skidau@gmail.com>2015-03-09 08:32:14 +1100
commitb200e83b02967c55d6b04077f3b88b3efb3ecf85 (patch)
tree8160a7ede0be2809ef53b28720818b139d914c87 /Source/Core/DolphinWX/FrameTools.cpp
parentd34e908c4e21603ed1922ffae8479201559fb906 (diff)
Fixed the wiimote profiles not taking effect.
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
-rw-r--r--Source/Core/DolphinWX/FrameTools.cpp5
1 files changed, 1 insertions, 4 deletions
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();