mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-09-08 08:33:19 +02:00
![giantpune](/assets/img/avatar_default.png)
* removed duplicate 002 parameter in constructors * pass setting parameter directly to the patching functions instead of making another variable just for this * probably broke something
22 lines
597 B
C
22 lines
597 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, u8 videoSelected, u8 languageChoice, u8 patchcountrystring, u8 vipatch,
|
|
u8 cheat, u32 returnTo);
|
|
bool Remove_001_Protection(void *Address, int Size);
|
|
u32 load_dol_image(void * dolstart);
|
|
u32 Load_Dol_from_disc(u32 doloffset, u8 videoSelected, u8 languageChoice, u8 patchcountrystring, u8 vipatch, u8 cheat, u32 returnTo);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|