mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 04:08:06 -05:00
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:
@ -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');
|
||||
}
|
||||
|
Reference in New Issue
Block a user