From 24d2a4ea5bd43a27b8c64a044f03acbef0f2e077 Mon Sep 17 00:00:00 2001 From: aspargas2 Date: Sun, 26 Jul 2020 07:20:18 -0400 Subject: [PATCH] fix install destination logic --- arm9/source/utils/gameutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm9/source/utils/gameutil.c b/arm9/source/utils/gameutil.c index aeba53e..f76a8dd 100644 --- a/arm9/source/utils/gameutil.c +++ b/arm9/source/utils/gameutil.c @@ -2155,7 +2155,7 @@ u32 InstallGameFile(const char* path, bool to_emunand, bool force_nand) { if (!tid64) return 1; if (((tid64 >> 32) & 0x8000) || (filetype & GAME_NDS)) to_twl = true; - else if (!((tid64 >> 32) & 0x10) || !force_nand) + else if (!((tid64 >> 32) & 0x10) && !force_nand) to_sd = true; // does the title.db exist?