From a8430940f9c20d9ebcd8d82492f9d78b37ca42fc Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Mon, 30 Mar 2026 12:20:26 +0200 Subject: [PATCH] feat: add regional nand aliases to melonds profile dsi_nand.bin aliases: DSi_Nand_USA/EUR/JPN/AUS/CHN/KOR.bin for repo resolution. Code loads a single configurable path (libretro.cpp:836, EmuInstance.cpp:1036-1050), validates nocash footer (DSi_NAND.cpp:42-111). size + storage added. --- emulators/melonds.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/emulators/melonds.yml b/emulators/melonds.yml index e908c4c7..bdee55d3 100644 --- a/emulators/melonds.yml +++ b/emulators/melonds.yml @@ -77,11 +77,14 @@ files: source_ref: "src/SPI.cpp:197-211, src/frontend/Util_ROM.cpp:201-217" - name: dsi_nand.bin + aliases: [DSi_Nand_USA.bin, DSi_Nand_EUR.bin, DSi_Nand_JPN.bin, DSi_Nand_AUS.bin, DSi_Nand_CHN.bin, DSi_Nand_KOR.bin] system: nintendo-dsi description: "DSi NAND dump" required: true - source_ref: "src/frontend/Util_ROM.cpp:224-235, src/DSi_NAND.cpp" - note: "Uses AES keys from ARM7i BIOS offset 0x8308" + size: 251658304 + storage: large_file + source_ref: "src/frontend/Util_ROM.cpp:224-235, src/DSi_NAND.cpp:58-97" + note: "Any regional dump works. Nocash footer required (DSi eMMC CID/CPU at EOF-0x40 or 0xFF800). AES keys derived from ARM7i BIOS offset 0x8308." - name: dsi_sd_card.bin system: nintendo-dsi