Add overlay patch to fix race condition in Kirby Super Star Ultra (#81)

This commit is contained in:
Mow
2025-12-30 16:23:04 -05:00
committed by GitHub
parent 992e2d1053
commit 6fb34c75f8
5 changed files with 138 additions and 0 deletions

View File

@@ -21,6 +21,7 @@
#include "patches/arm9/OverlayPatches/DSProtectPatches/DSProtectOverlayPatch.h"
#include "patches/arm9/OverlayPatches/DSProtectPatches/DSProtectPuyoPuyo7Patch.h"
#include "patches/arm9/OverlayPatches/PokemonIr/PokemonIrApPatch.h"
#include "patches/arm9/OverlayPatches/KirbySuperStarUltra/KirbySuperStarUltraPatch.h"
#include "patches/arm9/OverlayPatches/GoldenSunDarkDawn/GoldenSunDarkDawnOverlayHookPatch.h"
#include "SecureSysCallsUnusedSpaceLocator.h"
#include "fastSearch.h"
@@ -404,6 +405,15 @@ void Arm9Patcher::AddGameSpecificPatches(
patchCollection.AddPatch(new NintendoDSGuideNandSavePatch());
break;
}
// Kirby Super Star Ultra
case GAMECODE("YKWE"):
case GAMECODE("YKWJ"):
case GAMECODE("YKWK"):
case GAMECODE("YKWP"):
{
overlayHookPatch->AddOverlayPatch(new KirbySuperStarUltraPatch());
break;
}
}
}