summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2012-12-23 23:59:10 +1300
committerMatthew Parlane <parlane@gmail.com>2012-12-23 23:59:10 +1300
commit589222857f52c2512a262a63f6f6c74bed3d3dfd (patch)
tree7174c1d6e5c83cb711dba0ff1f46b2537659359d /Source/Core
parent3aa990161844d7b46ae0374e8b2bad4214476272 (diff)
Someone changed this to a u32... it's definitely a s32 :)
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp2
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 9508762742..db45802e6f 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp
@@ -321,7 +321,7 @@ void ExecuteCommand(u32 _Address)
bool CmdSuccess = false;
ECommandType Command = static_cast<ECommandType>(Memory::Read_U32(_Address));
- volatile u32 DeviceID = Memory::Read_U32(_Address + 8);
+ volatile s32 DeviceID = Memory::Read_U32(_Address + 8);
IWII_IPC_HLE_Device* pDevice = (DeviceID >= 0 && DeviceID < IPC_MAX_FDS) ? g_FdMap[DeviceID] : NULL;