mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue