From d95e31af3f779bfa3141047e8b6275e1fd2e4bbb Mon Sep 17 00:00:00 2001 From: Matthew Parlane Date: Thu, 22 Mar 2012 22:52:12 +1300 Subject: [PATCH] Fixes issue 4932 AGAIN :D --- Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 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 b552185f87..cd4f679db9 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp @@ -376,10 +376,8 @@ void ExecuteCommand(u32 _Address) else { WARN_LOG(WII_IPC_HLE, "Unimplemented device: %s", DeviceName.c_str()); - pDevice = GetDeviceByName(std::string("_Unimplemented_Device_")); - CmdSuccess = pDevice->Open(_Address, Mode); - g_FdMap[DeviceID] = pDevice; - Memory::Write_U32(DeviceID, _Address+4); + Memory::Write_U32(FS_ENOENT, _Address+4); + CmdSuccess = true; } } else