From 8761081c73c67e977bdf5f70f0f121747c2fe916 Mon Sep 17 00:00:00 2001 From: Gericom Date: Tue, 2 Dec 2025 19:14:59 +0100 Subject: [PATCH] Added more game codes to DLDI blacklist. Fixes Final Fantasy Crystal Chronicles - Ring of Fates (EU and US) and Nanashi no Geemu. Fixes #17 --- arm7/source/loader/NdsLoader.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/arm7/source/loader/NdsLoader.cpp b/arm7/source/loader/NdsLoader.cpp index 46558bb..717692f 100644 --- a/arm7/source/loader/NdsLoader.cpp +++ b/arm7/source/loader/NdsLoader.cpp @@ -534,13 +534,19 @@ void NdsLoader::LoadFirmwareUserSettings() bool NdsLoader::ShouldAttemptDldiPatch() { + // Some games contain a fake dldi header to trick flashcards + // See also: https://shutterbug2000.github.io/very-clever/ switch (_romHeader.ntrHeader.gameCode) { - // Final Fantasy IV contains a fake dldi header to trick flashcards - // See also: https://shutterbug2000.github.io/very-clever/ + // Final Fantasy IV case GAMECODE("YF4P"): case GAMECODE("YF4E"): case GAMECODE("YF4J"): + // Final Fantasy Crystal Chronicles - Ring of Fates + case GAMECODE("AFXE"): + case GAMECODE("AFXP"): + // Nanashi no Geemu + case GAMECODE("YFQJ"): { return false; }