diff options
author | Bakugo <bakugo@b4k.co> | 2019-07-02 01:57:23 +0200 |
---|---|---|
committer | Bakugo <bakugo@b4k.co> | 2019-07-02 01:57:23 +0200 |
commit | b50557d1f02d2784dbda733b4cf21c769d1cae4d (patch) | |
tree | 3590623336f83ebc96878703e4e52f34a05d6a58 /src/core/file_sys | |
parent | file_sys/registered_cache: Improve missing metadata error (diff) | |
download | yuzu-b50557d1f02d2784dbda733b4cf21c769d1cae4d.tar yuzu-b50557d1f02d2784dbda733b4cf21c769d1cae4d.tar.gz yuzu-b50557d1f02d2784dbda733b4cf21c769d1cae4d.tar.bz2 yuzu-b50557d1f02d2784dbda733b4cf21c769d1cae4d.tar.lz yuzu-b50557d1f02d2784dbda733b4cf21c769d1cae4d.tar.xz yuzu-b50557d1f02d2784dbda733b4cf21c769d1cae4d.tar.zst yuzu-b50557d1f02d2784dbda733b4cf21c769d1cae4d.zip |
Diffstat (limited to 'src/core/file_sys')
-rw-r--r-- | src/core/file_sys/nca_metadata.h | 4 | ||||
-rw-r--r-- | src/core/file_sys/registered_cache.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/file_sys/nca_metadata.h b/src/core/file_sys/nca_metadata.h index 53ea3709b..1f82fff0a 100644 --- a/src/core/file_sys/nca_metadata.h +++ b/src/core/file_sys/nca_metadata.h @@ -35,8 +35,8 @@ enum class ContentRecordType : u8 { Program = 1, Data = 2, Control = 3, - Manual = 4, - Legal = 5, + HtmlDocument = 4, + LegalInformation = 5, DeltaFragment = 6, }; diff --git a/src/core/file_sys/registered_cache.cpp b/src/core/file_sys/registered_cache.cpp index dfde04dd6..3725b10f7 100644 --- a/src/core/file_sys/registered_cache.cpp +++ b/src/core/file_sys/registered_cache.cpp @@ -99,7 +99,7 @@ ContentRecordType GetCRTypeFromNCAType(NCAContentType type) { return ContentRecordType::Data; case NCAContentType::Manual: // TODO(DarkLordZach): Peek at NCA contents to differentiate Manual and Legal. - return ContentRecordType::Manual; + return ContentRecordType::HtmlDocument; default: UNREACHABLE_MSG("Invalid NCAContentType={:02X}", static_cast<u8>(type)); } |