diff options
| author | Matthew Parlane <parlane@gmail.com> | 2012-01-31 19:28:17 +1300 |
|---|---|---|
| committer | unknown <Matthew@Matthew-PC.(none)> | 2012-03-06 23:31:59 +1300 |
| commit | e8e2c241d75728ea404a207e1d323233a353fcab (patch) | |
| tree | cfb649039ff33c893d49d302c061a88febdc10f1 /Source | |
| parent | 614c43029f1ec06cee2014e0cfaa76c0d6ce6889 (diff) | |
delroth pointed out that it should be "starts with" not "contains". Unlikely this has ever affected anyone....
Diffstat (limited to 'Source')
| -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 fb16c38661..38baf7f43e 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp @@ -287,7 +287,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()); |
