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:
nakeee 2008-12-03 19:36:47 +00:00
parent eecbfa3445
commit c16732a012
1 changed files with 3 additions and 3 deletions

View File

@ -287,8 +287,8 @@ void ExecuteCommand(u32 _Address)
}
else
{
LOG(WII_IPC_HLE, "IOP: Open (Device=%s, Mode=%i)",
pDevice->GetDeviceName().c_str(), Mode);
LOG(WII_IPC_HLE, "IOP: Open (Device=%s, DeviceID=%08x, Mode=%i)",
pDevice->GetDeviceName().c_str(), CurrentDeviceID, Mode);
}
}
else
@ -408,7 +408,7 @@ void ExecuteCommand(u32 _Address)
if (GenerateReply)
{
// Get device id
u32 DeviceID = Memory::Read_U32(_Address + 8);
u32 DeviceID = Memory::Read_U32(_Address + 8);
IWII_IPC_HLE_Device* pDevice = NULL;
// Get the device from the device map