Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
CARDMount.c File Reference

Functions

u8 GameChoice AT_ADDRESS (0x800030E3)
 
static BOOL IsCard (u32 id)
 
static s32 DoMount (s32 chan)
 
static void DoUnmount (s32 chan, s32 result)
 
s32 CARDProbe (s32 chan)
 
s32 CARDProbeEx (s32 chan, s32 *memSize, s32 *sectorSize)
 
void __CARDMountCallback (s32 chan, s32 result)
 
s32 CARDMountAsync (s32 chan, void *workArea, CARDCallback detachCallback, CARDCallback attachCallback)
 
s32 CARDMount (s32 chan, void *workArea, CARDCallback attachCb)
 
s32 CARDUnmount (s32 chan)
 

Variables

static u32 SectorSizeTable [8]
 
static u32 LatencyTable [8]
 

Function Documentation

◆ __CARDMountCallback()

void __CARDMountCallback ( s32  chan,
s32  result 
)

◆ AT_ADDRESS()

u8 GameChoice AT_ADDRESS ( 0x800030E3  )

◆ CARDMount()

s32 CARDMount ( s32  chan,
void workArea,
CARDCallback  attachCb 
)

◆ CARDMountAsync()

s32 CARDMountAsync ( s32  chan,
void workArea,
CARDCallback  detachCallback,
CARDCallback  attachCallback 
)

◆ CARDProbe()

s32 CARDProbe ( s32  chan)

◆ CARDProbeEx()

s32 CARDProbeEx ( s32  chan,
s32 memSize,
s32 sectorSize 
)

◆ CARDUnmount()

s32 CARDUnmount ( s32  chan)

◆ DoMount()

static s32 DoMount ( s32  chan)
static

◆ DoUnmount()

static void DoUnmount ( s32  chan,
s32  result 
)
static

◆ IsCard()

static BOOL IsCard ( u32  id)
static

Variable Documentation

◆ LatencyTable

u32 LatencyTable[8]
static
Initial value:
= {
4, 8, 16, 32, 64, 128, 256, 512,
}

◆ SectorSizeTable

u32 SectorSizeTable[8]
static
Initial value:
= {
8 * 1024, 16 * 1024, 32 * 1024, 64 * 1024, 128 * 1024, 256 * 1024, 0, 0,
}