summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/registered_cache.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-01-06 04:04:15 +0100
committerGitHub <noreply@github.com>2021-01-06 04:04:15 +0100
commitdc02b03c4abd9878abce75e26bec153382835c6b (patch)
treedf50002a188b9a65bf2cbd999a394273d0465666 /src/core/file_sys/registered_cache.cpp
parentMerge pull request #5289 from ReinUsesLisp/vulkan-device (diff)
parentcore: Enforce C4715 (not all control paths return a value) (diff)
downloadyuzu-dc02b03c4abd9878abce75e26bec153382835c6b.tar
yuzu-dc02b03c4abd9878abce75e26bec153382835c6b.tar.gz
yuzu-dc02b03c4abd9878abce75e26bec153382835c6b.tar.bz2
yuzu-dc02b03c4abd9878abce75e26bec153382835c6b.tar.lz
yuzu-dc02b03c4abd9878abce75e26bec153382835c6b.tar.xz
yuzu-dc02b03c4abd9878abce75e26bec153382835c6b.tar.zst
yuzu-dc02b03c4abd9878abce75e26bec153382835c6b.zip
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 da01002d5..431302f55 100644
--- a/src/core/file_sys/registered_cache.cpp
+++ b/src/core/file_sys/registered_cache.cpp
@@ -105,7 +105,8 @@ ContentRecordType GetCRTypeFromNCAType(NCAContentType type) {
// TODO(DarkLordZach): Peek at NCA contents to differentiate Manual and Legal.
return ContentRecordType::HtmlDocument;
default:
- UNREACHABLE_MSG("Invalid NCAContentType={:02X}", static_cast<u8>(type));
+ UNREACHABLE_MSG("Invalid NCAContentType={:02X}", type);
+ return ContentRecordType{};
}
}