usbloadergx/source/patches/gamepatches.h

31 lines
919 B
C
Raw Normal View History

#ifndef GAMEPATCHES_H_
#define GAMEPATCHES_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <gccore.h>
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,
u8 vipatch, u8 sneekVideoPatch, u8 hooktype, u64 returnTo, u8 privateServer);
2010-09-24 02:48:03 +02:00
bool Anti_002_fix(u8 * Address, int Size);
void PrivateServerPatcher(void *addr, u32 len, u8 privateServer);
void domainpatcher(void *addr, u32 len, const char* domain);
bool NSMBPatch();
bool PoPPatch();
* 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 VideoModePatcher(u8 * dst, int len, u8 videoSelected, u8 VideoPatchDol);
void sneek_video_patch(void *addr, u32 len);
2010-09-24 02:48:03 +02:00
bool PatchReturnTo(void *Address, int Size, u32 id);
int PatchNewReturnTo(int es_fd, u64 title);
int BlockIOSReload(int es_fd, u8 gameIOS);
void PatchAspectRatio(void *addr, u32 len, u8 aspect);
#ifdef __cplusplus
}
#endif
#endif