summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/content_archive.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-09-04 23:01:40 +0200
committerZach Hilman <zachhilman@gmail.com>2018-09-04 23:01:54 +0200
commitc913136eb215699f9c8d51a8fd56490b9df7657f (patch)
tree4564a416d8f200b69559164e2a50bdc690d49dbd /src/core/file_sys/content_archive.cpp
parentdrd: Parse title ID from program metadata (diff)
downloadyuzu-c913136eb215699f9c8d51a8fd56490b9df7657f.tar
yuzu-c913136eb215699f9c8d51a8fd56490b9df7657f.tar.gz
yuzu-c913136eb215699f9c8d51a8fd56490b9df7657f.tar.bz2
yuzu-c913136eb215699f9c8d51a8fd56490b9df7657f.tar.lz
yuzu-c913136eb215699f9c8d51a8fd56490b9df7657f.tar.xz
yuzu-c913136eb215699f9c8d51a8fd56490b9df7657f.tar.zst
yuzu-c913136eb215699f9c8d51a8fd56490b9df7657f.zip
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 1c093d94f..79bfb6fec 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) *