Skip to content

Commit

Permalink
Properly take over extdata ID when installing
Browse files Browse the repository at this point in the history
  • Loading branch information
d0k3 committed Aug 20, 2020
1 parent 62fd3e9 commit 158fa78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arm9/source/game/tie.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ u32 BuildTitleInfoEntryNcch(TitleInfoEntry* tie, TitleMetaData* tmd, NcchHeader*
align(exthdr->savedata_size, align_size); // savegame
tie->flags_1[0] = 0x01; // has SD save
};
// extdata ID low (hacky)
tie->extdata_id_low = getle32(exthdr->aci_data + 0x30 - 0x0C + 0x04);
// extdata ID low (hacky, we navigate to storage info)
tie->extdata_id_low = getle32(exthdr->aci_data + (0x30 - 0x0C));
} else {
tie->flags_0[0] = 0x00; // no manual
tie->title_version &= 0xFFFF; // no dlp
Expand Down

0 comments on commit 158fa78

Please sign in to comment.