diff --git a/arm9/source/utils/gameutil.c b/arm9/source/utils/gameutil.c index 3c5ad79..d4897e3 100644 --- a/arm9/source/utils/gameutil.c +++ b/arm9/source/utils/gameutil.c @@ -1367,10 +1367,6 @@ u32 BuildCiaFromTmdFileBuffered(const char* path_tmd, const char* path_cia, bool ShowPrompt(false, "ID %016llX.%08lX\nInsert content failed", getbe64(title_id), getbe32(chunk->id)); return 1; } - } else { - // still remove encryption flag if CIA is being decrypted - bool cia_encrypt = (force_legit && (getbe16(chunk->type) & 0x01)); - if (!cia_encrypt) chunk->type[1] &= ~0x01; // remove crypto flag } }