Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
mDoMemCd_Ctrl_c Class Reference

#include <m_Do_MemCard.h>

+ Collaboration diagram for mDoMemCd_Ctrl_c:

Public Types

enum  CardCommand {
  CARD_NO_COMMAND , CARD_RESTORE , CARD_STORE , CARD_FORMAT ,
  CARD_ATTACH , CARD_DETACH
}
 

Public Member Functions

 mDoMemCd_Ctrl_c ()
 
void ThdInit ()
 
void main ()
 
void update ()
 
void load ()
 
void restore ()
 
s32 LoadSync (void *, u32, u32)
 
void save (void *, u32, u32)
 
void store ()
 
s32 SaveSync ()
 
u32 getStatus (u32)
 
void command_format ()
 
void format ()
 
s32 FormatSync ()
 
void attach ()
 
void command_attach ()
 
void detach ()
 
s32 mount ()
 
s32 loadfile ()
 
s32 checkspace ()
 
void setCardState (s32)
 
bool isCardCommNone ()
 
u8 getProbeStat ()
 
void clearProbeStat ()
 
void setCopyToPos (u8 param_0)
 
u32 getDataVersion ()
 
void setDataVersion (u32 version)
 
void getCardStatus (s32 fileNo, CARDStat *stat)
 
void setCardStatus (s32 fileNo, CARDStat *stat)
 
void setSerialNo ()
 

Public Attributes

u8 mData [0x1FBC]
 
u8 mChannel
 
u8 mCopyToPos
 
u8 mProbeStat
 
s32 mCardCommand
 
s32 mCardState
 
s32 field_0x1fc8
 
OSMutex mMutex
 
OSCond mCond
 
u32 mNandState
 
u64 mSerialNo
 
u32 mDataVersion
 

Member Enumeration Documentation

◆ CardCommand

Enumerator
CARD_NO_COMMAND 
CARD_RESTORE 
CARD_STORE 
CARD_FORMAT 
CARD_ATTACH 
CARD_DETACH 

Constructor & Destructor Documentation

◆ mDoMemCd_Ctrl_c()

mDoMemCd_Ctrl_c::mDoMemCd_Ctrl_c ( )

m_Do_MemCard.cpp Memory Card Control

Member Function Documentation

◆ attach()

void mDoMemCd_Ctrl_c::attach ( )

◆ checkspace()

s32 mDoMemCd_Ctrl_c::checkspace ( )

◆ clearProbeStat()

void mDoMemCd_Ctrl_c::clearProbeStat ( )
inline

◆ command_attach()

void mDoMemCd_Ctrl_c::command_attach ( )

◆ command_format()

void mDoMemCd_Ctrl_c::command_format ( )

◆ detach()

void mDoMemCd_Ctrl_c::detach ( )

◆ format()

void mDoMemCd_Ctrl_c::format ( )

◆ FormatSync()

s32 mDoMemCd_Ctrl_c::FormatSync ( )

◆ getCardStatus()

void mDoMemCd_Ctrl_c::getCardStatus ( s32  fileNo,
CARDStat stat 
)
inline

◆ getDataVersion()

u32 mDoMemCd_Ctrl_c::getDataVersion ( )
inline

◆ getProbeStat()

u8 mDoMemCd_Ctrl_c::getProbeStat ( )
inline

◆ getStatus()

u32 mDoMemCd_Ctrl_c::getStatus ( u32  )

◆ isCardCommNone()

bool mDoMemCd_Ctrl_c::isCardCommNone ( )
inline

◆ load()

void mDoMemCd_Ctrl_c::load ( )

◆ loadfile()

s32 mDoMemCd_Ctrl_c::loadfile ( )

◆ LoadSync()

s32 mDoMemCd_Ctrl_c::LoadSync ( void buffer,
u32  size,
u32  index 
)

◆ main()

void mDoMemCd_Ctrl_c::main ( )

◆ mount()

s32 mDoMemCd_Ctrl_c::mount ( )

◆ restore()

void mDoMemCd_Ctrl_c::restore ( )

◆ save()

void mDoMemCd_Ctrl_c::save ( void buffer,
u32  size,
u32  index 
)

◆ SaveSync()

s32 mDoMemCd_Ctrl_c::SaveSync ( )

◆ setCardState()

void mDoMemCd_Ctrl_c::setCardState ( s32  param_0)

◆ setCardStatus()

void mDoMemCd_Ctrl_c::setCardStatus ( s32  fileNo,
CARDStat stat 
)
inline

◆ setCopyToPos()

void mDoMemCd_Ctrl_c::setCopyToPos ( u8  param_0)
inline

◆ setDataVersion()

void mDoMemCd_Ctrl_c::setDataVersion ( u32  version)
inline

◆ setSerialNo()

void mDoMemCd_Ctrl_c::setSerialNo ( )
inline

◆ store()

void mDoMemCd_Ctrl_c::store ( )

◆ ThdInit()

void mDoMemCd_Ctrl_c::ThdInit ( )

◆ update()

void mDoMemCd_Ctrl_c::update ( )

Member Data Documentation

◆ field_0x1fc8

s32 mDoMemCd_Ctrl_c::field_0x1fc8

◆ mCardCommand

s32 mDoMemCd_Ctrl_c::mCardCommand

◆ mCardState

s32 mDoMemCd_Ctrl_c::mCardState

◆ mChannel

u8 mDoMemCd_Ctrl_c::mChannel

◆ mCond

OSCond mDoMemCd_Ctrl_c::mCond

◆ mCopyToPos

u8 mDoMemCd_Ctrl_c::mCopyToPos

◆ mData

u8 mDoMemCd_Ctrl_c::mData[0x1FBC]

◆ mDataVersion

u32 mDoMemCd_Ctrl_c::mDataVersion

◆ mMutex

OSMutex mDoMemCd_Ctrl_c::mMutex

◆ mNandState

u32 mDoMemCd_Ctrl_c::mNandState

◆ mProbeStat

u8 mDoMemCd_Ctrl_c::mProbeStat

◆ mSerialNo

u64 mDoMemCd_Ctrl_c::mSerialNo

The documentation for this class was generated from the following files: