sup39
23e5c658ad
- GCI Loader: gecko-gosub + 06 bin + 04 bl to onReadOptionBlock - place GCI Loader code at 817FE800 since [817FEEA0, 81800000) is used by system - place buffer at 817F1800 (instead of 817F1000+4) since there seems to be some alignment issue - Assume file size == 0x2000*6 since fileInfo->length seems to be 0
14 lines
303 B
C
14 lines
303 B
C
#include "gcn.h"
|
|
#include "sms.h"
|
|
|
|
#ifndef __CARD_H__
|
|
#define __CARD_H__
|
|
|
|
#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
|
|
int loadCard(TCardManager *cm, CARDFileInfo *fileInfo, char *fileName, u32 *dst);
|
|
|
|
#endif
|