aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/content_archive.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-16 13:13:40 -0400
committerLioncash <mathew1800@gmail.com>2018-10-16 13:22:31 -0400
commit441b5b97bd4f0c01b33785ef4d32b3ef3d7ea4fa (patch)
treeb7f8486233a43f1b60d9b7e9021c6777cfa4e94c /src/core/file_sys/content_archive.cpp
parent53e77ffbfe5da01ae4aa9bdac540674f98cd1c6a (diff)
content_archive: Make IsValidNCA() an internally linked function
This is only ever used within the cpp file, so it can just be an internal function.
Diffstat (limited to 'src/core/file_sys/content_archive.cpp')
-rw-r--r--src/core/file_sys/content_archive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/content_archive.cpp b/src/core/file_sys/content_archive.cpp
index a6bd3369c..6ce1cb0ae 100644
--- a/src/core/file_sys/content_archive.cpp
+++ b/src/core/file_sys/content_archive.cpp
@@ -97,7 +97,7 @@ union NCASectionHeader {
};
static_assert(sizeof(NCASectionHeader) == 0x200, "NCASectionHeader has incorrect size.");
-bool IsValidNCA(const NCAHeader& header) {
+static bool IsValidNCA(const NCAHeader& header) {
// TODO(DarkLordZach): Add NCA2/NCA0 support.
return header.magic == Common::MakeMagic('N', 'C', 'A', '3');
}