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-19 12:53:24 +02:00
|
|
|
typedef void ( *entry_point )( void );
|
2009-10-01 01:10:58 +02:00
|
|
|
|
|
|
|
/* Prototypes */
|
2010-09-19 12:53:24 +02:00
|
|
|
s32 Apploader_Run( entry_point *entry, u8 cheat, u8 videoSelected, u8 vipatch, u8 patchcountrystring, u8 error002fix, u8 alternatedol, u32 alternatedoloffset, u32 returnTo );
|
|
|
|
void gamepatches( void * dst, int len, u8 videoSelected, u8 patchcountrystring, u8 vipatch, u8 cheat );
|
2009-10-01 01:10:58 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|