delroth pointed out that it should be "starts with" not "contains". Unlikely this has ever affected anyone....

This commit is contained in:
Matthew Parlane 2012-01-31 19:28:17 +13:00 committed by unknown
parent 614c43029f
commit e8e2c241d7

View File

@ -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());