#include <revolution/card.h>
#define CARD_MODE_NORMAL 0
#define CARD_MODE_FAST 1
s32 CARDGetCurrentMode(s32 chan, u32* mode);chan |
EXI channel number. |
mode |
Pointer to u32 type for receiving the result. When the function call is successful, either CARD_MODE_NORMAL or CARD_MODE_FAST is set. |
One of the following codes:
CARD_RESULT_FATAL_ERROR
CARD_RESULT_NOCARD
CARD_RESULT_BUSY
CARD_RESULT_READY
Gets the current memory card processing mode that is applied to the Memory Card inserted in the specified EXI channel.
Note: If the fast operation mode is enabled, Memory Card 1019 can be programmed (written) much faster than Memory Card 59 and Memory Card 251. By default, the fast operation mode is disabled for backward compatibility.
Memory Card Functions,
CARDGetFastMode, CARDSetFastMode
2006/03/01 Initial version.
CONFIDENTIAL