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
This commit is contained in:
Glenn Rice 2010-08-11 04:00:27 +00:00
parent 97f894ffbd
commit 9f57345c11

View File

@ -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;