mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
print device id on open
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1385 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -287,8 +287,8 @@ void ExecuteCommand(u32 _Address)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LOG(WII_IPC_HLE, "IOP: Open (Device=%s, Mode=%i)",
|
LOG(WII_IPC_HLE, "IOP: Open (Device=%s, DeviceID=%08x, Mode=%i)",
|
||||||
pDevice->GetDeviceName().c_str(), Mode);
|
pDevice->GetDeviceName().c_str(), CurrentDeviceID, Mode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -408,7 +408,7 @@ void ExecuteCommand(u32 _Address)
|
|||||||
if (GenerateReply)
|
if (GenerateReply)
|
||||||
{
|
{
|
||||||
// Get device id
|
// Get device id
|
||||||
u32 DeviceID = Memory::Read_U32(_Address + 8);
|
u32 DeviceID = Memory::Read_U32(_Address + 8);
|
||||||
IWII_IPC_HLE_Device* pDevice = NULL;
|
IWII_IPC_HLE_Device* pDevice = NULL;
|
||||||
|
|
||||||
// Get the device from the device map
|
// Get the device from the device map
|
||||||
|
Reference in New Issue
Block a user