From 7e01954e489b99221a4f2ef0eebc267324b2f5c9 Mon Sep 17 00:00:00 2001 From: d0k3 Date: Thu, 1 Apr 2021 09:29:49 +0200 Subject: [PATCH] Properly handle emanuals in update images --- arm9/source/game/tie.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arm9/source/game/tie.c b/arm9/source/game/tie.c index 465d660..f31cae2 100644 --- a/arm9/source/game/tie.c +++ b/arm9/source/game/tie.c @@ -44,7 +44,9 @@ u32 BuildTitleInfoEntryTmd(TitleInfoEntry* tie, TitleMetaData* tmd, bool sd) { } // manual? dlp? save? (we need to properly check this later) - if (((title_id >> 32) == 0x00040000) || ((title_id >> 32) == 0x00040010)) { + if (((title_id >> 32) == 0x00040000) || + ((title_id >> 32) == 0x0004000E) || + ((title_id >> 32) == 0x00040010)) { if (has_idx1) tie->flags_0[0] = 0x1; // this may have a manual if (has_idx2) tie->title_version |= (0xFFFF << 16); // this may have a dlp if (getle32(tmd->save_size)) tie->flags_1[0] = 0x01; // this may have an sd save