mirror of
https://github.com/Atmosphere-NX/hac2l.git
synced 2025-06-21 11:12:39 +02:00
xci/appfs: recurse into program nca
This commit is contained in:
parent
e0d1b3affd
commit
1b6d7f8a29
@ -449,6 +449,11 @@ namespace ams::hactool {
|
||||
}
|
||||
|
||||
void Processor::SaveAsApplicationFileSystem(ProcessAsApplicationFileSystemContext &ctx) {
|
||||
/* Save the target application's program nca. */
|
||||
if (ctx.has_target) {
|
||||
this->SaveAsNca(ctx.app_nca_ctx);
|
||||
}
|
||||
|
||||
/* TODO */
|
||||
AMS_UNUSED(ctx);
|
||||
}
|
||||
|
@ -373,7 +373,10 @@ namespace ams::hactool {
|
||||
if (m_options.secure_partition_out_dir != nullptr) { ExtractDirectoryWithProgress(m_local_fs, ctx.secure_partition.fs, "secure:", m_options.secure_partition_out_dir, "/"); }
|
||||
if (m_options.update_partition_out_dir != nullptr) { ExtractDirectoryWithProgress(m_local_fs, ctx.update_partition.fs, "update:", m_options.update_partition_out_dir, "/"); }
|
||||
|
||||
/* TODO: Recurse, dump NCAs? */
|
||||
/* Save the application filesystem. */
|
||||
if (ctx.secure_partition.fs != nullptr) {
|
||||
this->SaveAsApplicationFileSystem(ctx.app_ctx);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user