usbloadergx/source/usbloader/alternatedol.h

19 lines
546 B
C
Raw Normal View History

#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, const char * filepath);
u32 load_dol_image(void *dolstart, u8 videoSelected, u8 languageChoice, u8 patchcountrystring, u8 vipatch, u8 cheat, u8 fix002, u32 returnTo);
u32 Load_Dol_from_disc(u32 offset, u8 videoSelected, u8 languageChoice, u8 patchcountrystring, u8 vipatch, u8 cheat, u8 fix002, u32 returnTo);
#ifdef __cplusplus
}
#endif
#endif