2022-11-27 06:38:23 +09:00
|
|
|
#include "gcn.h"
|
|
|
|
#include "sms.h"
|
|
|
|
|
|
|
|
#ifndef __CARD_H__
|
|
|
|
#define __CARD_H__
|
|
|
|
|
2023-02-10 23:20:40 +09:00
|
|
|
#define LOAD_ERR_MOUNT -1
|
|
|
|
#define LOAD_ERR_OPEN -2
|
|
|
|
#define LOAD_ERR_SIZE -3
|
|
|
|
#define LOAD_ERR_FILE_NOT_EXIST -4
|
|
|
|
#define LOAD_ERR_READ -5
|
2023-05-16 03:27:33 +09:00
|
|
|
#define LOAD_STAT_INIT 0
|
|
|
|
#define LOAD_STAT_LOADING 1
|
|
|
|
#define LOAD_STAT_DONE 2
|
2023-02-10 23:20:40 +09:00
|
|
|
int loadCard(TCardManager *cm, CARDFileInfo *fileInfo, char *fileName, u32 *dst);
|
2022-11-27 06:38:23 +09:00
|
|
|
|
2023-02-10 23:20:40 +09:00
|
|
|
#endif
|