mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 15:55:31 +01:00
Merge pull request #2526 from lioncash/silly
WII_IPC_HLE: Remove a silly volatile usage
This commit is contained in:
commit
97382ec90a
@ -352,7 +352,7 @@ void ExecuteCommand(u32 _Address)
|
|||||||
IPCCommandResult result = IPC_NO_REPLY;
|
IPCCommandResult result = IPC_NO_REPLY;
|
||||||
|
|
||||||
IPCCommandType Command = static_cast<IPCCommandType>(Memory::Read_U32(_Address));
|
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;
|
IWII_IPC_HLE_Device* pDevice = (DeviceID >= 0 && DeviceID < IPC_MAX_FDS) ? g_FdMap[DeviceID] : nullptr;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user