From e28647f19db5cc29a2b66289c8d5199f974f84f2 Mon Sep 17 00:00:00 2001 From: "glennricster@gmail.com" Date: Wed, 11 Aug 2010 04:00:27 +0000 Subject: [PATCH] Fix the wiimote refresh button in the new wiimote plugin on linux. git-svn-id: http://dolphin-emu.googlecode.com/svn/trunk@6087 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_WiimoteNew/Src/WiimoteReal/WiimoteReal.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Plugins/Plugin_WiimoteNew/Src/WiimoteReal/WiimoteReal.cpp b/Source/Plugins/Plugin_WiimoteNew/Src/WiimoteReal/WiimoteReal.cpp index 12a613b05..d15466631 100644 --- a/Source/Plugins/Plugin_WiimoteNew/Src/WiimoteReal/WiimoteReal.cpp +++ b/Source/Plugins/Plugin_WiimoteNew/Src/WiimoteReal/WiimoteReal.cpp @@ -383,8 +383,10 @@ void Refresh() // this gets called from the GUI thread #ifdef __linux__ // make sure real wiimotes have been initialized if (!g_real_wiimotes_initialized) + { Initialize(); return; + } // find the number of slots configured for real wiimotes unsigned int wanted_wiimotes = 0; -- 2.11.4.GIT