mirror of
https://github.com/rvtr/TwlToolsRED.git
synced 2025-10-31 06:41:18 -04:00
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@270 7061adef-622a-194b-ae81-725974e89856
42 lines
995 B
C
42 lines
995 B
C
#ifndef __HATAMOTO_LIB__
|
|
#define __HATAMOTO_LIB__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
#define ECDOWNLOAD_DUMMY 0
|
|
#define ECDOWNLOAD_SUCCESS 1
|
|
// #define ECDOWNLOAD_NO_REGISTER 2
|
|
#define ECDOWNLOAD_FAILURE 3
|
|
|
|
// int ECDownload(const NAMTitleId* pTitleIds, u32 numTitleIds);
|
|
int ECDownload(MY_USER_APP_TID * pTitleIds, u32 numTitleIds);
|
|
|
|
BOOL KPSClient();
|
|
// BOOL WaitEC(ECOpId opId);
|
|
|
|
|
|
void PrintDeviceInfo(void);
|
|
void SetupShopTitleId(void);
|
|
void SetupUserInfo(void);
|
|
BOOL SetupVerData(void);
|
|
void SetupNSSL(void);
|
|
BOOL SetupNHTTP(void);
|
|
BOOL SetupEC(void);
|
|
void DeleteECDirectory(void);
|
|
|
|
// void SetupTitlesDataFile(const NAMTitleId* pTitleIds, u32 numTitleIds);
|
|
void SetupTitlesDataFile(const MY_USER_APP_TID * pTitleIds, u32 numTitleIds);
|
|
|
|
FSFile *hatamotolib_log_start(char *log_file_name );
|
|
void hatamotolib_log_end(void);
|
|
BOOL Tid_To_GameCode(u64 tid, char *gcode);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __HATAMOTO_LIB__
|