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>
|
|
|
|
|
2010-09-24 00:48:03 +00:00
|
|
|
bool Anti_002_fix(u8 * Address, int Size);
|
|
|
|
bool NSMBPatch(u8 * Address, int Size);
|
2010-05-30 14:18:25 +00:00
|
|
|
bool PoPPatch();
|
2010-09-24 00:48:03 +00:00
|
|
|
bool Search_and_patch_Video_Modes(u8 * Address, u32 Size, GXRModeObj* Table[]);
|
|
|
|
void VideoModePatcher(u8 * dst, int len, u8 videoSelected);
|
|
|
|
bool PatchReturnTo(void *Address, int Size, u32 id);
|
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
|