2009-10-01 01:10:58 +02:00
|
|
|
#ifndef _ALTERNATEDOL_H_
|
|
|
|
#define _ALTERNATEDOL_H_
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2010-09-19 01:16:05 +02:00
|
|
|
extern "C"
|
|
|
|
{
|
2009-10-01 01:10:58 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* not the full path is needed here, the path where the dol is */
|
|
|
|
|
2010-09-30 07:45:21 +02:00
|
|
|
bool Load_Dol(void **buffer, int* dollen, char * path, u8 videoSelected, u8 languageChoice, u8 patchcountrystring, u8 vipatch,
|
2010-09-30 06:24:17 +02:00
|
|
|
u8 cheat, u32 returnTo);
|
2010-09-24 02:48:03 +02:00
|
|
|
bool Remove_001_Protection(void *Address, int Size);
|
|
|
|
u32 load_dol_image(void * dolstart);
|
2010-09-30 07:45:21 +02:00
|
|
|
u32 Load_Dol_from_disc(u32 doloffset, u8 videoSelected, u8 languageChoice, u8 patchcountrystring, u8 vipatch, u8 cheat, u32 returnTo);
|
2009-10-01 01:10:58 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|