diff options
| author | 2019-07-02 00:57:23 +0100 | |
|---|---|---|
| committer | 2019-07-02 00:57:23 +0100 | |
| commit | b50557d1f02d2784dbda733b4cf21c769d1cae4d (patch) | |
| tree | 3590623336f83ebc96878703e4e52f34a05d6a58 /src/core/file_sys | |
| parent | file_sys/registered_cache: Improve missing metadata error (diff) | |
| download | yuzu-b50557d1f02d2784dbda733b4cf21c769d1cae4d.tar.gz yuzu-b50557d1f02d2784dbda733b4cf21c769d1cae4d.tar.xz yuzu-b50557d1f02d2784dbda733b4cf21c769d1cae4d.zip | |
file_sys: Rename other ContentRecordType members
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 { | |||
| 35 | Program = 1, | 35 | Program = 1, |
| 36 | Data = 2, | 36 | Data = 2, |
| 37 | Control = 3, | 37 | Control = 3, |
| 38 | Manual = 4, | 38 | HtmlDocument = 4, |
| 39 | Legal = 5, | 39 | LegalInformation = 5, |
| 40 | DeltaFragment = 6, | 40 | DeltaFragment = 6, |
| 41 | }; | 41 | }; |
| 42 | 42 | ||
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) { | |||
| 99 | return ContentRecordType::Data; | 99 | return ContentRecordType::Data; |
| 100 | case NCAContentType::Manual: | 100 | case NCAContentType::Manual: |
| 101 | // TODO(DarkLordZach): Peek at NCA contents to differentiate Manual and Legal. | 101 | // TODO(DarkLordZach): Peek at NCA contents to differentiate Manual and Legal. |
| 102 | return ContentRecordType::Manual; | 102 | return ContentRecordType::HtmlDocument; |
| 103 | default: | 103 | default: |
| 104 | UNREACHABLE_MSG("Invalid NCAContentType={:02X}", static_cast<u8>(type)); | 104 | UNREACHABLE_MSG("Invalid NCAContentType={:02X}", static_cast<u8>(type)); |
| 105 | } | 105 | } |