From e8e2c241d75728ea404a207e1d323233a353fcab Mon Sep 17 00:00:00 2001 From: Matthew Parlane Date: Tue, 31 Jan 2012 19:28:17 +1300 Subject: [PATCH] delroth pointed out that it should be "starts with" not "contains". Unlikely this has ever affected anyone.... --- Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());