Make SUKE01, SUKP01 and SUKJ01 playable

This commit is contained in:
wiidev 2023-01-01 17:00:26 +00:00
parent 564ea6a534
commit 39eed7d098
3 changed files with 4203 additions and 0 deletions

View File

@ -12,6 +12,7 @@
#include "memory/mem2.h"
#include "settings/SettingsEnums.h"
#include "svnrev.h"
#include "kirbypatch.h"
/* GCC 11 false positives */
#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
patch_nsmb((u8 *)0x80000000);
patch_pop((u8 *)0x80000000);
patch_kirby((u8 *)0x80000000);
for (i = 0; i < dolCount; ++i)
{

4193
source/patches/kirbypatch.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,8 @@
#ifndef __KIRBYPATCH_H__
#define __KIRBYPATCH_H__
#include <gccore.h>
void patch_kirby(u8 *gameid);
#endif