mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-29 13:42:11 +00:00
poc: handle LFS for SystemProgram and SystemData
This commit is contained in:
parent
a8a348afc8
commit
e3dc98643c
1 changed files with 3 additions and 1 deletions
|
@ -3134,7 +3134,9 @@ static bool saveNintendoContentArchiveFsSection(void *userdata)
|
||||||
|
|
||||||
/* Override LayeredFS flag, if needed. */
|
/* Override LayeredFS flag, if needed. */
|
||||||
if (use_layeredfs_dir && \
|
if (use_layeredfs_dir && \
|
||||||
(title_type < NcmContentMetaType_Application || \
|
(title_type == NcmContentMetaType_Unknown || (title_type > NcmContentMetaType_SystemData && title_type < NcmContentMetaType_Application) || \
|
||||||
|
(title_type == NcmContentMetaType_SystemProgram && (content_type != NcmContentType_Program || nca_fs_ctx->section_idx != 0)) || \
|
||||||
|
(title_type == NcmContentMetaType_SystemData && (content_type != NcmContentType_Data || nca_fs_ctx->section_idx != 0)) || \
|
||||||
((title_type == NcmContentMetaType_Application || title_type == NcmContentMetaType_Patch) && (content_type != NcmContentType_Program || nca_fs_ctx->section_idx > 1)) || \
|
((title_type == NcmContentMetaType_Application || title_type == NcmContentMetaType_Patch) && (content_type != NcmContentType_Program || nca_fs_ctx->section_idx > 1)) || \
|
||||||
((title_type == NcmContentMetaType_AddOnContent || title_type == NcmContentMetaType_DataPatch) && (content_type != NcmContentType_Data || nca_fs_ctx->section_idx != 0))))
|
((title_type == NcmContentMetaType_AddOnContent || title_type == NcmContentMetaType_DataPatch) && (content_type != NcmContentType_Data || nca_fs_ctx->section_idx != 0))))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue