mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-10-02 03:35:09 +02:00
96cb18d26f
*corrected the patch for returnTo using d2x (should be working now) *added block ios reload of d2x. you can choose the methods in the game settings (same option as for hermes ios but it can be 1 or 2 on waninkoko ios, last option on screen) (not tested yet) *major restructuring of patching code for game patches inside the source
26 lines
622 B
C
26 lines
622 B
C
#ifndef GAMEPATCHES_H_
|
|
#define GAMEPATCHES_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <gccore.h>
|
|
|
|
void RegisterDOL(u8 *dst, int len);
|
|
void ClearDOLList();
|
|
void gamepatches(u8 videoSelected, u8 languageChoice, u8 patchcountrystring, u8 vipatch, u8 cheat, u8 fix002, u8 blockiosreloadselect, u64 returnTo);
|
|
bool Anti_002_fix(u8 * Address, int Size);
|
|
bool NSMBPatch();
|
|
bool PoPPatch();
|
|
void VideoModePatcher(u8 * dst, int len, u8 videoSelected);
|
|
bool PatchReturnTo(void *Address, int Size, u32 id);
|
|
int PatchNewReturnTo(u64 title);
|
|
bool BlockIOSReload(u8 blockiosreloadselect);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|