From 409ec4ba5c6e86a1ad0c34791753d95812cf558c Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Wed, 22 Apr 2009 21:35:12 +0000 Subject: [PATCH] wii sd: final revision to it, i think :p. Remove some logging that could slow stuff down git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3048 8ced0084-cf51-0410-be5f-012b33b47a6e --- .../Core/Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.cpp | 8 ++------ 1 file changed, 2 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 04ac6186cd..a754ff92f7 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 @@ -33,7 +33,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() @@ -376,11 +376,7 @@ u32 CWII_IPC_HLE_Device_sdio_slot0::ExecuteCommand(u32 _BufferIn, u32 _BufferInS } size_t nWritten = fwrite(buffer, req.bsize, req.blocks, m_Card); - if (nWritten == req.blocks) - { - ERROR_LOG(WII_IPC_SD, "%s", ArrayToString(buffer, size).c_str()); - } - else + if (nWritten != req.blocks) { ERROR_LOG(WII_IPC_SD, "Write Failed - wrote %x, error %i, eof? %i", nWritten, ferror(m_Card), feof(m_Card));