From 32b6838d3245faa06b90b7a6057dd9aa15cf94b8 Mon Sep 17 00:00:00 2001 From: d0k3 Date: Fri, 24 Jul 2020 12:02:13 +0200 Subject: [PATCH] Fix TMD CDN CIA building --- arm9/source/utils/gameutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arm9/source/utils/gameutil.c b/arm9/source/utils/gameutil.c index a313f1c..fe6cd33 100644 --- a/arm9/source/utils/gameutil.c +++ b/arm9/source/utils/gameutil.c @@ -1819,8 +1819,8 @@ u32 BuildInstallFromTmdFileBuffered(const char* path_tmd, const char* path_dest, // write the CIA stub (take #2) if ((FixTmdHashes(tmd) != 0) || - (install && (WriteCiaStub(cia, path_dest) != 0)) || - (!install && (InstallCiaSystemData(cia, path_dest) != 0))) + (!install && (WriteCiaStub(cia, path_dest) != 0)) || + (install && (InstallCiaSystemData(cia, path_dest) != 0))) return 1; return 0;