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:
Glenn Rice 2011-01-02 03:43:44 +00:00
parent 079bc67347
commit 75a8fa7340
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ int FindWiimotes(Wiimote** wm, int max_wiimotes)
bool found = false; bool found = false;
for(int i = 0; i < MAX_WIIMOTES; i++) 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; found = true;
break; break;