Fix an issue on windows where found wiimotes were not being reported as found. This fixes issue 3832.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6722 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
079bc67347
commit
75a8fa7340
|
@ -141,7 +141,7 @@ int FindWiimotes(Wiimote** wm, int max_wiimotes)
|
|||
bool found = false;
|
||||
for(int i = 0; i < MAX_WIIMOTES; i++)
|
||||
{
|
||||
if(wm[i] && memcmp(wm[i]->devicepath, detail_data->DevicePath, 197) == 0)
|
||||
if(wm[i] && strcmp(wm[i]->devicepath, detail_data->DevicePath) == 0)
|
||||
{
|
||||
found = true;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue