Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Someone changed this to a u32... it's definitely a s32 :)
  • Loading branch information
Parlane committed Dec 23, 2012
1 parent 3aa9901 commit 5892228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp
Expand Up @@ -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;

Expand Down

0 comments on commit 5892228

Please sign in to comment.