diff options
| author | Matthew Parlane <parlane@gmail.com> | 2012-01-31 19:28:17 +1300 |
|---|---|---|
| committer | Matthew Parlane <parlane@gmail.com> | 2012-01-31 19:28:17 +1300 |
| commit | 552545fa8abe3cdffb392781de43490cd32e1227 (patch) | |
| tree | abe21a73aea188dd217e9fbbc8193d0381eb2708 /Source/Core | |
| parent | 82ffbc338aec4df617121fd9bca39f8485e0435e (diff) | |
delroth pointed out that it should be "starts with" not "contains". Unlikely this has ever affected anyone....
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp index 51d388c926..17a8782c7d 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp @@ -289,7 +289,7 @@ void ExecuteCommand(u32 _Address) // check if a device with this name has been created already if (DeviceName.find("/dev/") == std::string::npos || DeviceID == -1) { - if (DeviceName.find("/dev/") != std::string::npos) + if (DeviceName.find("/dev/") == 0) { WARN_LOG(WII_IPC_HLE, "Unimplemented device: %s", DeviceName.c_str()); |
