mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
Merge pull request #2262 from lioncash/enum
file_sys/content_archive: Amend name of Data_Unknown5 enum entry
This commit is contained in:
commit
52f36ea1c7
@ -24,13 +24,26 @@ namespace FileSys {
|
|||||||
|
|
||||||
union NCASectionHeader;
|
union NCASectionHeader;
|
||||||
|
|
||||||
|
/// Describes the type of content within an NCA archive.
|
||||||
enum class NCAContentType : u8 {
|
enum class NCAContentType : u8 {
|
||||||
|
/// Executable-related data
|
||||||
Program = 0,
|
Program = 0,
|
||||||
|
|
||||||
|
/// Metadata.
|
||||||
Meta = 1,
|
Meta = 1,
|
||||||
|
|
||||||
|
/// Access control data.
|
||||||
Control = 2,
|
Control = 2,
|
||||||
|
|
||||||
|
/// Information related to the game manual
|
||||||
|
/// e.g. Legal information, etc.
|
||||||
Manual = 3,
|
Manual = 3,
|
||||||
|
|
||||||
|
/// System data.
|
||||||
Data = 4,
|
Data = 4,
|
||||||
Data_Unknown5 = 5, ///< Seems to be used on some system archives
|
|
||||||
|
/// Data that can be accessed by applications.
|
||||||
|
PublicData = 5,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class NCASectionCryptoType : u8 {
|
enum class NCASectionCryptoType : u8 {
|
||||||
|
@ -94,7 +94,7 @@ static ContentRecordType GetCRTypeFromNCAType(NCAContentType type) {
|
|||||||
case NCAContentType::Control:
|
case NCAContentType::Control:
|
||||||
return ContentRecordType::Control;
|
return ContentRecordType::Control;
|
||||||
case NCAContentType::Data:
|
case NCAContentType::Data:
|
||||||
case NCAContentType::Data_Unknown5:
|
case NCAContentType::PublicData:
|
||||||
return ContentRecordType::Data;
|
return ContentRecordType::Data;
|
||||||
case NCAContentType::Manual:
|
case NCAContentType::Manual:
|
||||||
// TODO(DarkLordZach): Peek at NCA contents to differentiate Manual and Legal.
|
// TODO(DarkLordZach): Peek at NCA contents to differentiate Manual and Legal.
|
||||||
|
Loading…
Reference in New Issue
Block a user