mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Fix some fail logic and a lil prob with UI when changing source and clicking "Refresh".
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5826 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -135,6 +135,7 @@ void InitPlugin( void* const hwnd )
|
||||
(*i)->UpdateReferences( g_plugin.controller_interface );
|
||||
|
||||
// real wiimotes
|
||||
WiimoteReal::LoadSettings();
|
||||
WiimoteReal::Initialize();
|
||||
}
|
||||
}
|
||||
@ -248,7 +249,7 @@ unsigned int Wiimote_GetAttachedControllers()
|
||||
{
|
||||
unsigned int attached = 0;
|
||||
for (unsigned int i=0; i<4; ++i)
|
||||
if (g_plugin.controllers[i]->default_device.ToString().length())
|
||||
if (g_wiimote_sources[i])
|
||||
attached |= (1 << i);
|
||||
return attached;
|
||||
}
|
||||
|
Reference in New Issue
Block a user