aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/content_archive.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-09-04 17:01:40 -0400
committerZach Hilman <zachhilman@gmail.com>2018-09-04 17:01:54 -0400
commit46eb9ec6ba96d8f485d920f1f7b93e7a0ed5d61c (patch)
tree4564a416d8f200b69559164e2a50bdc690d49dbd /src/core/file_sys/content_archive.cpp
parent14bfdbe0e7e69b56133717cef130105b1f03df6f (diff)
bktr: Fix bucket overlap error
Diffstat (limited to 'src/core/file_sys/content_archive.cpp')
-rw-r--r--src/core/file_sys/content_archive.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/file_sys/content_archive.cpp b/src/core/file_sys/content_archive.cpp
index 1c093d94f3..79bfb6fecf 100644
--- a/src/core/file_sys/content_archive.cpp
+++ b/src/core/file_sys/content_archive.cpp
@@ -425,9 +425,6 @@ NCA::NCA(VirtualFile file_, VirtualFile bktr_base_romfs_, u64 bktr_base_ivfc_off
} else {
files.push_back(std::move(dec));
romfs = files.back();
- const u64 raw_size =
- MEDIA_OFFSET_MULTIPLIER * (header.section_tables[i].media_end_offset -
- header.section_tables[i].media_offset);
}
} else if (section.raw.header.filesystem_type == NCASectionFilesystemType::PFS0) {
u64 offset = (static_cast<u64>(header.section_tables[i].media_offset) *