From ee9949179d87f90ce7b15bc8a20f197623eed803 Mon Sep 17 00:00:00 2001 From: Pablo Curiel Date: Sun, 3 Jul 2022 12:27:26 +0200 Subject: [PATCH] God should I go get some sleep or what. --- source/core/bktr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/bktr.c b/source/core/bktr.c index 97d285c..f653738 100644 --- a/source/core/bktr.c +++ b/source/core/bktr.c @@ -694,7 +694,7 @@ static bool bktrReadSubStorage(BucketTreeSubStorage *substorage, BucketTreeSubSt success = ncaReadAesCtrExStorageFromBktrSection(nca_fs_ctx, params->buffer, params->size, params->offset, params->ctr_val); } else { /* 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. */ success = ncaReadFsSection(nca_fs_ctx, params->buffer, params->size, params->offset);