From 2b906ae8b26074a806a6e46c7801a7b0cc35b26c Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Sun, 19 Apr 2009 18:56:57 +0000 Subject: [PATCH] correct some wii sd cmd names git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3011 8ced0084-cf51-0410-be5f-012b33b47a6e --- .../Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.cpp | 11 +++++++---- .../Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.h | 14 ++++---------- 2 files changed, 11 insertions(+), 14 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 1bece37ae5..cb45a8bbf7 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 @@ -179,16 +179,19 @@ u32 CWII_IPC_HLE_Device_sdio_slot0::ExecuteCommand(u32 _BufferIn, u32 _BufferInS switch (req.command) { - case SWITCH_FUNC: - //return R1 + case APP_CMD1: break; case SELECT_CARD: //return R1b break; - case SEND_CID: - //return R2 + case SET_BLOCKLEN: + //return R1 + break; + + case APP_CMD_NEXT: + //indicates that next cmd doesn't adhere to standards break; default: diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.h b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.h index c877eebb95..5ab5160871 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.h +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.h @@ -68,16 +68,10 @@ private: enum { - SWITCH_FUNC = 6, - SELECT_CARD = 7, // Selects or Deselects single card - SEND_CID = 10, - - SWITCH34 = 34, - SWITCH35 = 35, - SWITCH36 = 36, - SWITCH37 = 37, - SWITCH50 = 50, - SWITCH57 = 57, + APP_CMD1 = 0x06, + SELECT_CARD = 0x07, + SET_BLOCKLEN = 0x10, + APP_CMD_NEXT = 0x37, }; u32 m_status;