SSBM Decomp
Loading...
Searching...
No Matches
CARDOpen.c File Reference
#include <cstring.h>
#include <dolphin/card.h>
#include <dolphin/card/CARDBios.h>
#include <dolphin/card/CARDOpen.h>
#include <dolphin/dvd/dvd.h>
#include <dolphin/os/OSExi.h>

Macros

#define CARDIsValidBlockNo(card, iBlock)    (CARD_NUM_SYSTEM_BLOCK <= (iBlock) && (iBlock) < (card)->cBlock)
 

Functions

bool __CARDCompareFileName (CARDDir *ent, const char *filename)
 
s32 __CARDAccess (CARDControl *card, CARDDir *ent)
 
s32 __CARDIsPublic (CARDDir *ent)
 
s32 __CARDGetFileNo (CARDControl *card, const char *filename, s32 *pfileno)
 
s32 CARDFastOpen (EXIChannel chan, s32 fileno, CARDFileInfo *fileinfo)
 
s32 CARDOpen (EXIChannel chan, const char *filename, CARDFileInfo *fileinfo)
 
s32 CARDClose (CARDFileInfo *fileinfo)
 
bool __CARDIsOpened (CARDControl *card, s32 fileno)
 

Variables

DVDDiskID __CARDDiskNone
 

Macro Definition Documentation

◆ CARDIsValidBlockNo

#define CARDIsValidBlockNo (   card,
  iBlock 
)     (CARD_NUM_SYSTEM_BLOCK <= (iBlock) && (iBlock) < (card)->cBlock)

Function Documentation

◆ __CARDCompareFileName()

bool __CARDCompareFileName ( CARDDir ent,
const char *  filename 
)

◆ __CARDAccess()

s32 __CARDAccess ( CARDControl card,
CARDDir ent 
)

◆ __CARDIsPublic()

s32 __CARDIsPublic ( CARDDir ent)

◆ __CARDGetFileNo()

s32 __CARDGetFileNo ( CARDControl card,
const char *  filename,
s32 pfileno 
)

◆ CARDFastOpen()

s32 CARDFastOpen ( EXIChannel  chan,
s32  fileno,
CARDFileInfo fileinfo 
)

◆ CARDOpen()

s32 CARDOpen ( EXIChannel  chan,
const char *  filename,
CARDFileInfo fileinfo 
)

◆ CARDClose()

s32 CARDClose ( CARDFileInfo fileinfo)

◆ __CARDIsOpened()

bool __CARDIsOpened ( CARDControl card,
s32  fileno 
)

Variable Documentation

◆ __CARDDiskNone

DVDDiskID __CARDDiskNone
extern