diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2009-04-22 15:24:36 +0000 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2009-04-22 15:24:36 +0000 |
| commit | c638de6f99d291dc3414d67ccaddf4f01d8412ef (patch) | |
| tree | 19b51eb3b0bc480619a4be1c889d76450e4ca6ce /Source/Core | |
| parent | 8cb7ab559ae58d058e782da4be5abe7b0e928279 (diff) | |
fix an unknown pointer error r3035 caused
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3038 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.cpp index 9fd7f1698d..10f7876e3e 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.cpp +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.cpp @@ -34,7 +34,7 @@ CWII_IPC_HLE_Device_sdio_slot0::CWII_IPC_HLE_Device_sdio_slot0(u32 _DeviceID, co m_BlockLength = 0; m_BusWidth = 0; // Clear the whole SD Host Control Register - Memory::Memset(SDIO_BASE, 0, 0x100); + //Memory::Memset(SDIO_BASE, 0, 0x100); } CWII_IPC_HLE_Device_sdio_slot0::~CWII_IPC_HLE_Device_sdio_slot0() @@ -155,10 +155,10 @@ bool CWII_IPC_HLE_Device_sdio_slot0::IOCtl(u32 _CommandAddress) break; } - INFO_LOG(WII_IPC_SD, "InBuffer"); - DumpCommands(BufferIn, BufferInSize / 4, LogTypes::WII_IPC_SD); - INFO_LOG(WII_IPC_SD, "OutBuffer"); - DumpCommands(BufferOut, BufferOutSize/4, LogTypes::WII_IPC_SD); +// INFO_LOG(WII_IPC_SD, "InBuffer"); +// DumpCommands(BufferIn, BufferInSize / 4, LogTypes::WII_IPC_SD); +// INFO_LOG(WII_IPC_SD, "OutBuffer"); +// DumpCommands(BufferOut, BufferOutSize/4, LogTypes::WII_IPC_SD); Memory::Write_U32(ReturnValue, _CommandAddress + 0x4); @@ -194,7 +194,7 @@ bool CWII_IPC_HLE_Device_sdio_slot0::IOCtlV(u32 _CommandAddress) break; } - //DumpAsync(CommandBuffer.BufferVector, _CommandAddress, CommandBuffer.NumberInBuffer, CommandBuffer.NumberPayloadBuffer, LogTypes::WII_IPC_SD); + DumpAsync(CommandBuffer.BufferVector, _CommandAddress, CommandBuffer.NumberInBuffer, CommandBuffer.NumberPayloadBuffer, LogTypes::WII_IPC_SD); Memory::Write_U32(ReturnValue, _CommandAddress + 0x4); |
