mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-27 05:34:15 +01:00
- added kirby patch. (wiidev)(blackb0x)
This commit is contained in:
parent
da80913558
commit
31f9d0edc0
Binary file not shown.
@ -13,6 +13,7 @@
|
|||||||
#include "gecko.h"
|
#include "gecko.h"
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
#include "video_tinyload.h"
|
#include "video_tinyload.h"
|
||||||
|
#include "kirbypatch.h"
|
||||||
|
|
||||||
/* Apploader function pointers */
|
/* Apploader function pointers */
|
||||||
typedef int (*app_main)(void **dst, int *size, int *offset);
|
typedef int (*app_main)(void **dst, int *size, int *offset);
|
||||||
@ -152,6 +153,7 @@ void maindolpatches(void *dst, int len, u8 vidMode, GXRModeObj *vmode, bool vipa
|
|||||||
u8 vfilter_medium[7] = {4, 8, 12, 16, 12, 8, 4};
|
u8 vfilter_medium[7] = {4, 8, 12, 16, 12, 8, 4};
|
||||||
u8 vfilter_high[7] = {8, 8, 10, 12, 10, 8, 8};
|
u8 vfilter_high[7] = {8, 8, 10, 12, 10, 8, 8};
|
||||||
|
|
||||||
|
patch_kirby((u8 *)0x80000000);
|
||||||
do_wip_code((u8 *)dst, len);
|
do_wip_code((u8 *)dst, len);
|
||||||
Remove_001_Protection(dst, len);
|
Remove_001_Protection(dst, len);
|
||||||
if(CurrentIOS.Type == IOS_TYPE_WANIN && CurrentIOS.Revision < 13)
|
if(CurrentIOS.Type == IOS_TYPE_WANIN && CurrentIOS.Revision < 13)
|
||||||
|
4193
resources/wiiflow_game_booter/source/kirbypatch.c
Normal file
4193
resources/wiiflow_game_booter/source/kirbypatch.c
Normal file
File diff suppressed because it is too large
Load Diff
8
resources/wiiflow_game_booter/source/kirbypatch.h
Normal file
8
resources/wiiflow_game_booter/source/kirbypatch.h
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#ifndef __KIRBYPATCH_H__
|
||||||
|
#define __KIRBYPATCH_H__
|
||||||
|
|
||||||
|
#include <gccore.h>
|
||||||
|
|
||||||
|
void patch_kirby(u8 *gameid);
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user