gcmm/source/mcard.h
sulokutdcmago 071e9d9b60 Corrected alpha blending (it was wrong all along, not very noticeable with current colors)
DrawBoxFilledGradient can modify the midpoint of the color gradient
Waits user to release the buttons (to avoid accidental restores)
Shows Memory Card free blocks in restore/backup mode
Shows page number in file selector
Icon won't try to load in raw modes.
Now can hold up/down to scroll the list. Also can use left/right to jump 5 elements up or down (can also be hold)
File list will always have the same order (previously looping back from first item filled the page, leading to repeated savegame entries when returning to page 1)
Uses retracecount as default method for icon animation (same timing as IPL and wii system menu)
Fixed sd gecko slot selection in GC mode (previous tried to use the same slot for memory card and sd gecko)
Shows filename when prompted to overwrite
Double check when raw restoring to ensure restore is correct (makes it a little slower, from 11 blocks/second to 9/blocks second roughly)
2012-10-07 11:18:19 +00:00

21 lines
621 B
C

/****************************************************************************
* mcard support prototypes
****************************************************************************/
#ifndef _MCARDSUP_
#define _MCARDSUP_
void GCIMakeHeader();
void ExtractGCIHeader();
int MountCard(int cslot);
u16 FreeBlocks(s32 chn);
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