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:
parent
97f894ffbd
commit
9f57345c11
|
@ -383,8 +383,10 @@ void Refresh() // this gets called from the GUI thread
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
// make sure real wiimotes have been initialized
|
// make sure real wiimotes have been initialized
|
||||||
if (!g_real_wiimotes_initialized)
|
if (!g_real_wiimotes_initialized)
|
||||||
|
{
|
||||||
Initialize();
|
Initialize();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// find the number of slots configured for real wiimotes
|
// find the number of slots configured for real wiimotes
|
||||||
unsigned int wanted_wiimotes = 0;
|
unsigned int wanted_wiimotes = 0;
|
||||||
|
|
Loading…
Reference in New Issue