mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-25 12:46:53 +01:00
Make SUKE01, SUKP01 and SUKJ01 playable
This commit is contained in:
parent
564ea6a534
commit
39eed7d098
@ -12,6 +12,7 @@
|
|||||||
#include "memory/mem2.h"
|
#include "memory/mem2.h"
|
||||||
#include "settings/SettingsEnums.h"
|
#include "settings/SettingsEnums.h"
|
||||||
#include "svnrev.h"
|
#include "svnrev.h"
|
||||||
|
#include "kirbypatch.h"
|
||||||
|
|
||||||
/* GCC 11 false positives */
|
/* GCC 11 false positives */
|
||||||
#if __GNUC__ > 10
|
#if __GNUC__ > 10
|
||||||
@ -69,6 +70,7 @@ void gamepatches(u8 videoSelected, u8 videoPatchDol, u8 aspectForce, u8 language
|
|||||||
// If a wip file is loaded for this game this does nothing - Dimok
|
// If a wip file is loaded for this game this does nothing - Dimok
|
||||||
patch_nsmb((u8 *)0x80000000);
|
patch_nsmb((u8 *)0x80000000);
|
||||||
patch_pop((u8 *)0x80000000);
|
patch_pop((u8 *)0x80000000);
|
||||||
|
patch_kirby((u8 *)0x80000000);
|
||||||
|
|
||||||
for (i = 0; i < dolCount; ++i)
|
for (i = 0; i < dolCount; ++i)
|
||||||
{
|
{
|
||||||
|
4193
source/patches/kirbypatch.c
Normal file
4193
source/patches/kirbypatch.c
Normal file
File diff suppressed because it is too large
Load Diff
8
source/patches/kirbypatch.h
Normal file
8
source/patches/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