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();
|
* Improved GameCube controller functions (patch by Dynamit)
R+Z=Screenshot, X=Gameinfo window, Y=Covers download
* Added Classic Controller and GameCube Controller support
in GameInfo window:
Right stick=3D Cover movement, X=Flip 3DCover 180°, L/R=Zoom
* Added Wifi6 and wifi10 pictures for GameInfo window.
(Thanks OriginalHamster)
* Added device priority selection for GameCube listing
in global Loader settings (SD->USB, or USB->SD)
* Added a "Use global" language setting for Gamecube games.
* Added support for USB devices with modified MBR's signature
to prevent WiiU's format message.
* Prevent Rockband cursor display on GameCube and WiiWare
games with "band" in the title (Crach bandicoot, Beach
Bandits, etc.)
* Added Dol's Video mode patcher in Loader/Game settings,
for games which couldn't be forced. (MadWorld, MotoGP08,
Mario Party 8, etc.)
♦ Region patch = Patches the dol's known video modes
to the region selected in "Video mode" setting,
but keep interlace/progressive references.
♦ ON = Patch all dol's known video modes to the one
selected in "Video mode" setting.
♦ ALL = Patch all dol's found video mode patterns
(even unknown video modes) to the one selected
in "Video mode" setting.
* DML: Updated DM(L) version detection up to v2.10
* DML: Automatically enable PADHook if Screenshot setting
is enabled
* DML: Fixed a bug where multiple video modes could be set
at the same time
* DEVO: Added a prompt if trying to launch a game from a
non FAT32 partition.
* DEVO: Added Direct Mapping Buttons setting (Devo r200+)
* DEVO: Added support for Language setting
* Language files updated: Chinese, French
2013-08-18 16:30:39 +02:00
|
|
|
void gamepatches(u8 videoSelected, u8 videoPatchDol, u8 aspectForce, u8 languageChoice, u8 patchcountrystring,
|
2021-03-15 18:55:52 +01:00
|
|
|
u8 vipatch, u8 sneekVideoPatch, u8 hooktype, u64 returnTo, u8 privateServer, const char *serverAddr);
|
|
|
|
bool Anti_002_fix(u8 *Address, int Size);
|
2020-11-08 22:27:42 +01:00
|
|
|
void PrivateServerPatcher(void *addr, u32 len, u8 privateServer, const char *serverAddr);
|
2019-08-26 19:53:21 +02:00
|
|
|
void PatchFix480p();
|
2020-12-12 22:35:12 +01:00
|
|
|
s8 do_new_wiimmfi();
|
2021-03-15 18:55:52 +01:00
|
|
|
s8 do_new_wiimmfi_nonMKWii(void *addr, u32 len);
|
|
|
|
void domainpatcher(void *addr, u32 len, const char *domain);
|
2011-01-09 18:51:15 +01:00
|
|
|
bool NSMBPatch();
|
2010-05-30 16:18:25 +02:00
|
|
|
bool PoPPatch();
|
2021-03-15 18:55:52 +01:00
|
|
|
void VideoModePatcher(u8 *dst, int len, u8 videoSelected, u8 VideoPatchDol);
|
2011-06-25 21:50:57 +02:00
|
|
|
void sneek_video_patch(void *addr, u32 len);
|
2010-09-24 02:48:03 +02:00
|
|
|
bool PatchReturnTo(void *Address, int Size, u32 id);
|
2011-12-22 23:44:48 +01:00
|
|
|
int PatchNewReturnTo(int es_fd, u64 title);
|
|
|
|
int BlockIOSReload(int es_fd, u8 gameIOS);
|
2011-12-23 16:48:20 +01:00
|
|
|
void PatchAspectRatio(void *addr, u32 len, u8 aspect);
|
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
|