From cfd2a1285786499ee2d51da38bf7cdb0ec563fad Mon Sep 17 00:00:00 2001 From: hyperiris Date: Sun, 22 Feb 2009 00:54:53 +0000 Subject: [PATCH] some prepare / debugging of issue 408, can't work now git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2349 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/HW/EXI_DeviceIPL.cpp | 3 ++- Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_DI.cpp | 5 ++++- Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_stm.h | 5 +++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Src/HW/EXI_DeviceIPL.cpp b/Source/Core/Core/Src/HW/EXI_DeviceIPL.cpp index 01f92d97b9..8b0259ea49 100644 --- a/Source/Core/Core/Src/HW/EXI_DeviceIPL.cpp +++ b/Source/Core/Core/Src/HW/EXI_DeviceIPL.cpp @@ -216,7 +216,8 @@ void CEXIIPL::TransferByte(u8& _uByte) } else { - _dbg_assert_(EXPANSIONINTERFACE, 0); + //_dbg_assert_(EXPANSIONINTERFACE, 0); + _dbg_assert_msg_(EXPANSIONINTERFACE, 0, "EXI IPL-DEV: illegal access address %08x", m_uAddress); LOG(EXPANSIONINTERFACE, "EXI IPL-DEV: illegal address %08x", m_uAddress); } #endif diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_DI.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_DI.cpp index baa2a5ea21..8e9dd2c85c 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_DI.cpp +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_DI.cpp @@ -275,7 +275,10 @@ u32 CWII_IPC_HLE_Device_di::ExecuteCommand(u32 _BufferIn, u32 _BufferInSize, u32 PanicAlert("DVDLowOpenPartition", Command); break; - + case 0x8c: + //PanicAlert("DVDLowClosePartition"); + break; + // DVDLowUnencryptedRead case 0x8d: PanicAlert("DVDLowUnencryptedRead"); diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_stm.h b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_stm.h index 4bbc597290..0b4aeb83d6 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_stm.h +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_stm.h @@ -74,6 +74,11 @@ public: switch(Parameter) { + case IOCTL_STM_HOTRESET: + LOG(WII_IPC_SD, "%s - IOCtl: \n", GetDeviceName().c_str()); + LOG(WII_IPC_SD, " IOCTL_STM_HOTRESET"); + break; + case IOCTL_STM_VIDIMMING: // (Input: 20 bytes, Output: 20 bytes) LOG(WII_IPC_SD, "%s - IOCtl: \n", GetDeviceName().c_str()); LOG(WII_IPC_SD, " IOCTL_STM_VIDIMMING");