2012-07-22 20:02:56 +02:00
|
|
|
#ifndef __NK_H__
|
|
|
|
#define __NK_H__
|
|
|
|
|
|
|
|
enum ExtNANDCfg
|
|
|
|
{
|
|
|
|
NCON_EXT_DI_PATH = (1<<0),
|
|
|
|
NCON_EXT_NAND_PATH = (1<<1),
|
2012-09-10 00:38:42 +02:00
|
|
|
NCON_HIDE_EXT_PATH = (1<<2),
|
|
|
|
NCON_EXT_RETURN_TO = (1<<3),
|
2012-07-22 20:02:56 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
typedef struct _memcfg
|
|
|
|
{
|
|
|
|
u32 magic;
|
|
|
|
u64 titleid;
|
|
|
|
u32 config;
|
2012-09-10 00:38:42 +02:00
|
|
|
u64 returnto;
|
2012-07-22 20:02:56 +02:00
|
|
|
u32 paddinga;
|
|
|
|
u32 paddingb;
|
|
|
|
char dipath[256];
|
|
|
|
char nandpath[256];
|
|
|
|
} memcfg;
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2012-09-10 00:38:42 +02:00
|
|
|
s32 Launch_nk(u64 TitleID, const char *nandpath, u64 ReturnTo);
|
2012-08-22 21:09:21 +02:00
|
|
|
bool Load_Neek2o_Kernel();
|
2013-06-01 13:33:12 +02:00
|
|
|
void check_neek2o(void);
|
2012-08-11 14:27:38 +02:00
|
|
|
bool neek2o(void);
|
2012-07-22 20:02:56 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
#endif //__NK_H__
|