Skip to content

Commit

Permalink
Merge pull request #2526 from lioncash/silly
Browse files Browse the repository at this point in the history
WII_IPC_HLE: Remove a silly volatile usage
  • Loading branch information
lioncash committed Jun 5, 2015
2 parents 4e4aa1f + 630e037 commit 97382ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/IPC_HLE/WII_IPC_HLE.cpp
Expand Up @@ -352,7 +352,7 @@ void ExecuteCommand(u32 _Address)
IPCCommandResult result = IPC_NO_REPLY;

IPCCommandType Command = static_cast<IPCCommandType>(Memory::Read_U32(_Address));
volatile s32 DeviceID = Memory::Read_U32(_Address + 8);
s32 DeviceID = Memory::Read_U32(_Address + 8);

IWII_IPC_HLE_Device* pDevice = (DeviceID >= 0 && DeviceID < IPC_MAX_FDS) ? g_FdMap[DeviceID] : nullptr;

Expand Down

0 comments on commit 97382ec

Please sign in to comment.