mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 09:19:17 +01:00
54fc7320f9
*added refresh of partition size when activating wii games mode from none wii games mode *fixed playback of some BNS banner sounds *moved every allocation used during or after apploader to mem2 (fixes some memory overwrites problems by the apploader) *improved detection of game partition when starting the loader without configs (fresh start) *fixed remove of unused cached titles on wiitdb load
29 lines
749 B
C
29 lines
749 B
C
#ifndef GAMEPATCHES_H_
|
|
#define GAMEPATCHES_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <gccore.h>
|
|
|
|
void RegisterDOL(u8 *dst, int len);
|
|
void ClearDOLList();
|
|
void gamepatches(u8 videoSelected, u8 aspectForce, u8 languageChoice, u8 patchcountrystring,
|
|
u8 vipatch, u8 sneekVideoPatch, u8 hooktype, u8 fix002, u64 returnTo);
|
|
bool Anti_002_fix(u8 * Address, int Size);
|
|
bool NSMBPatch();
|
|
bool PoPPatch();
|
|
void VideoModePatcher(u8 * dst, int len, u8 videoSelected);
|
|
void sneek_video_patch(void *addr, u32 len);
|
|
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
|