2009-10-01 01:10:58 +02:00
|
|
|
#ifndef _APPLOADER_H_
|
|
|
|
#define _APPLOADER_H_
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2010-09-19 01:16:05 +02:00
|
|
|
extern "C"
|
|
|
|
{
|
2009-10-01 01:10:58 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Entry point */
|
2010-09-24 02:48:03 +02:00
|
|
|
typedef void (*entry_point)(void);
|
2009-10-01 01:10:58 +02:00
|
|
|
|
|
|
|
/* Prototypes */
|
2010-09-24 02:48:03 +02:00
|
|
|
s32 Apploader_Run(entry_point *entry, char * dolpath, u8 cheat, u8 videoSelected, u8 vipatch,
|
2010-09-24 23:22:01 +02:00
|
|
|
u8 patchcountrystring, u8 error002fix, u8 alternatedol, u32 alternatedoloffset, u32 returnTo, u8 fix002);
|
|
|
|
void gamepatches(u8 * dst, int len, u8 videoSelected, u8 patchcountrystring, u8 vipatch, u8 cheat, u8 fix002);
|
2009-10-01 01:10:58 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|