usbloadergx/source/usbloader/alternatedol.h
2010-04-10 23:44:10 +00:00

20 lines
473 B
C

#ifndef _ALTERNATEDOL_H_
#define _ALTERNATEDOL_H_
#ifdef __cplusplus
extern "C" {
#endif
/* not the full path is needed here, the path where the dol is */
bool Load_Dol(void **buffer, int* dollen, char * path);
bool Remove_001_Protection(void *Address, int Size);
u32 load_dol_image(void * dolstart);
u32 Load_Dol_from_disc(u32 doloffset, u8 videoSelected, u8 patchcountrystring, u8 vipatch, u8 cheat, u32 rtrn);
#ifdef __cplusplus
}
#endif
#endif