2010-05-30 14:18:25 +00:00
|
|
|
#ifndef GAMEPATCHES_H_
|
|
|
|
#define GAMEPATCHES_H_
|
|
|
|
|
2010-11-06 15:30:14 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2010-05-30 14:18:25 +00:00
|
|
|
#include <gccore.h>
|
|
|
|
|
2011-05-30 19:49:12 +00:00
|
|
|
void RegisterDOL(u8 *dst, int len);
|
|
|
|
void ClearDOLList();
|
2011-12-23 15:48:20 +00:00
|
|
|
void gamepatches(u8 videoSelected, u8 aspectForce, u8 languageChoice, u8 patchcountrystring,
|
|
|
|
u8 vipatch, u8 sneekVideoPatch, u8 hooktype, u8 fix002, u64 returnTo);
|
2010-09-24 00:48:03 +00:00
|
|
|
bool Anti_002_fix(u8 * Address, int Size);
|
2011-01-09 17:51:15 +00:00
|
|
|
bool NSMBPatch();
|
2010-05-30 14:18:25 +00:00
|
|
|
bool PoPPatch();
|
2010-09-24 00:48:03 +00:00
|
|
|
void VideoModePatcher(u8 * dst, int len, u8 videoSelected);
|
2011-06-25 19:50:57 +00:00
|
|
|
void sneek_video_patch(void *addr, u32 len);
|
2010-09-24 00:48:03 +00:00
|
|
|
bool PatchReturnTo(void *Address, int Size, u32 id);
|
2011-12-22 22:44:48 +00:00
|
|
|
int PatchNewReturnTo(int es_fd, u64 title);
|
|
|
|
int BlockIOSReload(int es_fd, u8 gameIOS);
|
2011-12-23 15:48:20 +00:00
|
|
|
void PatchAspectRatio(void *addr, u32 len, u8 aspect);
|
2010-05-30 14:18:25 +00:00
|
|
|
|
2010-11-06 15:30:14 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2010-05-30 14:18:25 +00:00
|
|
|
#endif
|