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.
This commit is contained in:
Lioncash
2018-10-16 13:13:40 -04:00
parent 53e77ffbfe
commit 441b5b97bd
2 changed files with 1 additions and 3 deletions

View File

@ -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');
}