CARDCheck

C Specification

#include <revolution/card.h>
s32 CARDCheck(s32 chan);

Arguments

chan EXI channel number.

Return Values

One of the following codes:

CARD_RESULT_FATAL_ERROR
CARD_RESULT_NOCARD
CARD_RESULT_BUSY
CARD_RESULT_BROKEN
CARD_RESULT_ENCODING
CARD_RESULT_IOERROR
CARD_RESULT_READY

Description

Synchronously checks the Memory Card for file system consistency and repairs it if possible.

Note:The CARDCheck function can take milliseconds in CPU processing time and must not be called when the interrupt is prohibited.

See Also

Revision History

03/01/2006 Initial version.