SSBM Decomp
Loading...
Searching...
No Matches
CARDCheck.c File Reference

Functions

void __CARDCheckSum (void *ptr, int length, u16 *checksum, u16 *checksumInv)
 
static s32 VerifyID (CARDControl *card)
 
static s32 VerifyDir (CARDControl *card, int *outCurrent)
 
static s32 VerifyFAT (CARDControl *card, int *outCurrent)
 
s32 __CARDVerify (CARDControl *card)
 
s32 CARDCheckExAsync (s32 chan, s32 *xferBytes, CARDCallback callback)
 
s32 CARDCheckAsync (s32 chan, CARDCallback callback)
 

Function Documentation

◆ __CARDCheckSum()

void __CARDCheckSum ( void *  ptr,
int  length,
u16 checksum,
u16 checksumInv 
)

◆ VerifyID()

static s32 VerifyID ( CARDControl card)
static

◆ VerifyDir()

static s32 VerifyDir ( CARDControl card,
int *  outCurrent 
)
static

◆ VerifyFAT()

static s32 VerifyFAT ( CARDControl card,
int *  outCurrent 
)
static

◆ __CARDVerify()

s32 __CARDVerify ( CARDControl card)

◆ CARDCheckExAsync()

s32 CARDCheckExAsync ( s32  chan,
s32 xferBytes,
CARDCallback  callback 
)

◆ CARDCheckAsync()

s32 CARDCheckAsync ( s32  chan,
CARDCallback  callback 
)