From 9f57345c11d369d9f10f1c58d5bc8481e9a9b794 Mon Sep 17 00:00:00 2001 From: Glenn Rice 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: https://dolphin-emu.googlecode.com/svn/trunk@6087 8ced0084-cf51-0410-be5f-012b33b47a6e --- .../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 12a613b050..d15466631f 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;