summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorayuanx <ayuanx@gmail.com>2009-12-18 12:09:17 +0000
committerayuanx <ayuanx@gmail.com>2009-12-18 12:09:17 +0000
commit97090337e338fc82670fd2456f9d9dbaeae6dc38 (patch)
tree64e106470da1434ddeb76bbd41e9a311129e8d29 /Source/Core
parent077768501b0de353403a9187d869d09459ea1932 (diff)
WC24 config and mailbox files
Don't let the BIN suffix mislead you, they are not binary code git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4709 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp5
1 files changed, 2 insertions, 3 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 67bba04463..ddd76fc1e5 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp
@@ -328,9 +328,8 @@ void ExecuteCommand(u32 _Address)
{
if(pDevice->IsOpened())
{
- if (pDevice->GetDeviceName().find("/dev/net/") != std::string::npos)
- // AyuanX: /dev/net/XXX are more like events which don't need close so they can be reopened
- // At least it is so for /dev/net/kd/request & /dev/net/ncd/manage
+ if (pDevice->GetDeviceName().find("/dev/net/kd/request") != std::string::npos)
+ // AyuanX: /dev/net/kd/request is more like event which doesn't need close so it can be reopened
pDevice->Open(_Address, Mode);
else
// We have already opened this hardware, return -6