aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/registered_cache.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-20 20:17:57 -0400
committerGitHub <noreply@github.com>2018-08-20 20:17:57 -0400
commitdd70ddad7edb7cfbdddaed0ac657544a613d46e2 (patch)
tree76145c48a1f92f64ef53ef8527df392b0fac10a6 /src/core/file_sys/registered_cache.cpp
parentc0fb321935fe3c6c36696cac8f6741fe77c938db (diff)
parente8cb6f5c9be4480baa1f870d9cabcb0eab57397b (diff)
Merge pull request #1095 from DarkLordZach/sysarchives
filesystem: Add support for loading of system archives
Diffstat (limited to 'src/core/file_sys/registered_cache.cpp')
-rw-r--r--src/core/file_sys/registered_cache.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/file_sys/registered_cache.cpp b/src/core/file_sys/registered_cache.cpp
index d25eeee34..e90dc6695 100644
--- a/src/core/file_sys/registered_cache.cpp
+++ b/src/core/file_sys/registered_cache.cpp
@@ -77,12 +77,13 @@ static ContentRecordType GetCRTypeFromNCAType(NCAContentType type) {
case NCAContentType::Control:
return ContentRecordType::Control;
case NCAContentType::Data:
+ case NCAContentType::Data_Unknown5:
return ContentRecordType::Data;
case NCAContentType::Manual:
// TODO(DarkLordZach): Peek at NCA contents to differentiate Manual and Legal.
return ContentRecordType::Manual;
default:
- UNREACHABLE();
+ UNREACHABLE_MSG("Invalid NCAContentType={:02X}", static_cast<u8>(type));
}
}