Playstation 1 Memory Card

From LinuxMCE
Jump to: navigation, search

The underlying PCSX memory card subsystems support two memory cards, just like a real Playstation.

This is implemented in libpcsxcore/sio.h as follows:

void LoadMcd(int mcd, char *str);
void LoadMcds(char *mcd1, char *mcd2);
void SaveMcd(char *mcd, char *data, uint32_t adr, int size);
void CreateMcd(char *mcd);
void ConvertMcd(char *mcd, char *data);
 
typedef struct {
        char Title[48 + 1]; // Title in ASCII
        char sTitle[48 * 2 + 1]; // Title in Shift-JIS 
        char ID[12 + 1];
        char Name[16 + 1];
        int IconCount;
        short Icon[16 * 16 * 3];
        unsigned char Flags;
} McdBlock; 

void GetMcdBlockInfo(int mcd, int block, McdBlock *info);

Cross Reference