From 51cd83e28b3facd2779079d4924b48029e3e66ec Mon Sep 17 00:00:00 2001 From: ahezard Date: Wed, 10 Oct 2018 22:06:49 +0200 Subject: [PATCH] Add original r4 support --- arm9/source/driveOperations.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arm9/source/driveOperations.cpp b/arm9/source/driveOperations.cpp index af0e493..c00891a 100644 --- a/arm9/source/driveOperations.cpp +++ b/arm9/source/driveOperations.cpp @@ -181,7 +181,10 @@ TWL_CODE bool twl_flashcardMount(void) { } else if (!memcmp(gameid, "ACEK", 4) || !memcmp(gameid, "YCEP", 4) || !memcmp(gameid, "AHZH", 4)) { io_dldi_data = dldiLoadFromBin(ak2_sd_dldi); fatMountSimple("fat", &io_dldi_data->ioInterface); - } + } else if (!memcmp(gameid, "ASMA", 4)) { + io_dldi_data = dldiLoadFromBin(r4_sd_dldi); + fatMountSimple("fat", &io_dldi_data->ioInterface); + } if (flashcardFound()) { fatGetVolumeLabel("fat", fatLabel);