mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-09 20:21:45 +00:00
God should I go get some sleep or what.
This commit is contained in:
parent
e85aace57c
commit
ee9949179d
1 changed files with 1 additions and 1 deletions
|
@ -694,7 +694,7 @@ static bool bktrReadSubStorage(BucketTreeSubStorage *substorage, BucketTreeSubSt
|
||||||
success = ncaReadAesCtrExStorageFromBktrSection(nca_fs_ctx, params->buffer, params->size, params->offset, params->ctr_val);
|
success = ncaReadAesCtrExStorageFromBktrSection(nca_fs_ctx, params->buffer, params->size, params->offset, params->ctr_val);
|
||||||
} else {
|
} else {
|
||||||
/* Make sure to handle Sparse virtual offsets if we need to. */
|
/* Make sure to handle Sparse virtual offsets if we need to. */
|
||||||
if (params->parent_storage_type == BucketTreeStorageType_Sparse && virtual_offset) nca_fs_ctx->cur_sparse_virtual_offset = params->virtual_offset;
|
if (params->parent_storage_type == BucketTreeStorageType_Sparse && params->virtual_offset) nca_fs_ctx->cur_sparse_virtual_offset = params->virtual_offset;
|
||||||
|
|
||||||
/* Perform a read on the target NCA. */
|
/* Perform a read on the target NCA. */
|
||||||
success = ncaReadFsSection(nca_fs_ctx, params->buffer, params->size, params->offset);
|
success = ncaReadFsSection(nca_fs_ctx, params->buffer, params->size, params->offset);
|
||||||
|
|
Loading…
Reference in a new issue