aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/registered_cache.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-06-07 17:02:29 -0400
committerLiam <byteslice@airmail.cc>2022-06-13 20:09:00 -0400
commitc1771c98f3dcdb0216a1d1809a6c75ce13c21eec (patch)
treeea48c7b1d22a0b282846ba28a9b62c988e38bd29 /src/core/file_sys/registered_cache.cpp
parent063d8354a72c3d2e8711c88b1b94301d1327eab4 (diff)
common: Change semantics of UNREACHABLE to unconditionally crash
Diffstat (limited to 'src/core/file_sys/registered_cache.cpp')
-rw-r--r--src/core/file_sys/registered_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/registered_cache.cpp b/src/core/file_sys/registered_cache.cpp
index 2eaac73ef8..878d832c26 100644
--- a/src/core/file_sys/registered_cache.cpp
+++ b/src/core/file_sys/registered_cache.cpp
@@ -108,7 +108,7 @@ ContentRecordType GetCRTypeFromNCAType(NCAContentType type) {
// TODO(DarkLordZach): Peek at NCA contents to differentiate Manual and Legal.
return ContentRecordType::HtmlDocument;
default:
- UNREACHABLE_MSG("Invalid NCAContentType={:02X}", type);
+ ASSERT_MSG(false, "Invalid NCAContentType={:02X}", type);
return ContentRecordType{};
}
}