gcmm/source/mcard.h
sulokutdcmago 166ded3cf5 Increased lenght of filenames in selector
Added raw backup and restore modes, as well as format mode.
Raw write still has the same issues as in ctr-gcs with official cards.

Flash ID is checked before raw restoring (can be bypassed if memory card is changed after selecting the image, however size check can't be bypassed). This behavior is intentional.

Changed STATUSOGC definition to gci.h (defining STATUSOGC makes GCMM use the normal CARD_GetStatus and CARD_SetStatus functions instead of the EX versions)
2012-09-05 11:14:16 +00:00

20 lines
595 B
C

/****************************************************************************
* mcard support prototypes
****************************************************************************/
#ifndef _MCARDSUP_
#define _MCARDSUP_
void GCIMakeHeader();
void ExtractGCIHeader();
int MountCard(int cslot);
int CardGetDirectory (int slot);
void CardListFiles ();
int CardReadFileHeader (int slot, int id);
int CardReadFile (int slot, int id);
int CardWriteFile (int slot);
void MC_DeleteMode(int slot);
void MC_FormatMode(s32 slot);
void WaitCardError(char *src, int error);
static int OFFSET = 0;
#endif