2010-05-30 16:18:25 +02:00
|
|
|
#ifndef GAMEPATCHES_H_
|
|
|
|
#define GAMEPATCHES_H_
|
|
|
|
|
2010-11-06 16:30:14 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2010-05-30 16:18:25 +02:00
|
|
|
#include <gccore.h>
|
|
|
|
|
2011-05-30 21:49:12 +02:00
|
|
|
void RegisterDOL(u8 *dst, int len);
|
|
|
|
void ClearDOLList();
|
2011-05-30 22:35:03 +02:00
|
|
|
void gamepatches(u8 videoSelected, u8 languageChoice, u8 patchcountrystring, u8 vipatch, u8 cheat, u8 fix002, u8 blockiosreloadselect, u8 gameIOS, u64 returnTo);
|
2010-09-24 02:48:03 +02:00
|
|
|
bool Anti_002_fix(u8 * Address, int Size);
|
2011-01-09 18:51:15 +01:00
|
|
|
bool NSMBPatch();
|
2010-05-30 16:18:25 +02:00
|
|
|
bool PoPPatch();
|
2010-09-24 02:48:03 +02:00
|
|
|
void VideoModePatcher(u8 * dst, int len, u8 videoSelected);
|
|
|
|
bool PatchReturnTo(void *Address, int Size, u32 id);
|
2011-05-30 21:49:12 +02:00
|
|
|
int PatchNewReturnTo(u64 title);
|
2011-06-10 14:22:19 +02:00
|
|
|
bool BlockIOSReload(u8 gameIOS);
|
2010-05-30 16:18:25 +02:00
|
|
|
|
2010-11-06 16:30:14 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2010-05-30 16:18:25 +02:00
|
|
|
#endif
|