Actually months ago in the dsi-updates branch:
https://github.com/devkitPro/libnds/commit/8d547c65e6503a1eab46b646a6a7a1199f9e3d95
It uses SD commands to read CID from SDIO directly(sorry if those terms are not correct), so it works even with 3DS TWL_FIRM(which has zeros at 0x2ffd7bc doesn't like DSi).
Even better, it works for both internal NAND/EMMC and the SD card slot, so, if you don't have a "true" SD card reader like Raspberry Pi, you could use another CFWed DSi/3DS to dump CID from a hardmoded DSi.
https://github.com/devkitPro/libnds/commit/8d547c65e6503a1eab46b646a6a7a1199f9e3d95
It uses SD commands to read CID from SDIO directly(sorry if those terms are not correct), so it works even with 3DS TWL_FIRM(which has zeros at 0x2ffd7bc doesn't like DSi).
Even better, it works for both internal NAND/EMMC and the SD card slot, so, if you don't have a "true" SD card reader like Raspberry Pi, you could use another CFWed DSi/3DS to dump CID from a hardmoded DSi.













