41#define MC_TYPE_PSX sceMcTypePS1
42#define MC_TYPE_PS2 sceMcTypePS2
43#define MC_TYPE_POCKET sceMcTypePDA
44#define MC_TYPE_NONE sceMcTypeNoCard
47#define MC_UNFORMATTED 0
50#define MC_ATTR_READABLE sceMcFileAttrReadable
51#define MC_ATTR_WRITEABLE sceMcFileAttrWriteable
52#define MC_ATTR_EXECUTABLE sceMcFileAttrExecutable
53#define MC_ATTR_PROTECTED sceMcFileAttrDupProhibit
54#define MC_ATTR_FILE sceMcFileAttrFile
55#define MC_ATTR_SUBDIR sceMcFileAttrSubdir
57#define MC_ATTR_OBJECT (sceMcFileAttrFile|sceMcFileAttrSubdir)
58#define MC_ATTR_CLOSED sceMcFileAttrClosed
59#define MC_ATTR_PDAEXEC sceMcFileAttrPDAExec
60#define MC_ATTR_PSX sceMcFileAttrPS1
62#define MC_ATTR_HIDDEN sceMcFileAttrHidden
84 MC_FUNC_ERASE_BLOCK = 0x5A,
96 MCICON_TYPE_SAVED_DATA = 0,
97 MCICON_TYPE_SOFTWARE_PS2,
98 MCICON_TYPE_SOFTWARE_PKT,
99 MCICON_TYPE_SETTINGS_DATA,
100 MCICON_TYPE_SYSTEM_DRIVER
103typedef int iconIVECTOR[4];
104typedef float iconFVECTOR[4];
109 unsigned char head[4];
119 iconIVECTOR bgCol[4];
121 iconFVECTOR lightDir[3];
123 iconFVECTOR lightCol[3];
127 unsigned short title[34];
129 unsigned char view[64];
131 unsigned char copy[64];
133 unsigned char del[64];
135 unsigned char unknown3[512];
146 unsigned char EntryName[32];
153 unsigned char unknown1;
170 unsigned char unknown2;
189 unsigned short unknown3;
190 unsigned unknown4[2];
192 unsigned char name[32];
223int mcGetInfo(
int port,
int slot,
int* type,
int* free,
int* format);
235int mcOpen(
int port,
int slot,
const char *name,
int mode);
255int mcSeek(
int fd,
int offset,
int origin);
267int mcRead(
int fd,
void *buffer,
int size);
278int mcWrite(
int fd,
const void *buffer,
int size);
298int mcMkDir(
int port,
int slot,
const char* name);
311int mcChdir(
int port,
int slot,
const char* newDir,
char* currentDir);
350int mcDelete(
int port,
int slot,
const char *name);
394int mcRename(
int port,
int slot,
const char* oldName,
const char* newName);
407int mcEraseBlock(
int port,
int slot,
int block,
int mode);
420int mcReadPage(
int port,
int slot,
unsigned int page,
void *buffer);
433int mcWritePage(
int port,
int slot,
int page,
const void *buffer);
453int mcSync(
int mode,
int *cmd,
int *result);
int mcGetEntSpace(int port, int slot, const char *path)
int mcUnformat(int port, int slot)
int mcSeek(int fd, int offset, int origin)
int mcRead(int fd, void *buffer, int size)
int mcMkDir(int port, int slot, const char *name)
int mcWritePage(int port, int slot, int page, const void *buffer)
int mcEraseBlock(int port, int slot, int block, int mode)
int mcOpen(int port, int slot, const char *name, int mode)
int mcRename(int port, int slot, const char *oldName, const char *newName)
int mcChdir(int port, int slot, const char *newDir, char *currentDir)
int mcSetFileInfo(int port, int slot, const char *name, const sceMcTblGetDir *info, unsigned flags)
int mcReadPage(int port, int slot, unsigned int page, void *buffer)
int mcGetDir(int port, int slot, const char *name, unsigned mode, int maxent, sceMcTblGetDir *table)
int mcGetInfo(int port, int slot, int *type, int *free, int *format)
int mcDelete(int port, int slot, const char *name)
int mcFormat(int port, int slot)
int mcWrite(int fd, const void *buffer, int size)
int mcChangeThreadPriority(int level)
int mcSync(int mode, int *cmd, int *result)