summaryrefslogtreecommitdiffstats
path: root/src/core/loader/loader.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-08-07 13:55:50 +0200
committerLioncash <mathew1800@gmail.com>2020-08-07 14:09:57 +0200
commit8e86fa7e6033d7d65c781eb332d5d750f7ef4e26 (patch)
tree8c22b7d574b92de9077dc9c0e1d05fa2947b34b5 /src/core/loader/loader.cpp
parentMerge pull request #4483 from lioncash/constexpr-hex (diff)
downloadyuzu-8e86fa7e6033d7d65c781eb332d5d750f7ef4e26.tar
yuzu-8e86fa7e6033d7d65c781eb332d5d750f7ef4e26.tar.gz
yuzu-8e86fa7e6033d7d65c781eb332d5d750f7ef4e26.tar.bz2
yuzu-8e86fa7e6033d7d65c781eb332d5d750f7ef4e26.tar.lz
yuzu-8e86fa7e6033d7d65c781eb332d5d750f7ef4e26.tar.xz
yuzu-8e86fa7e6033d7d65c781eb332d5d750f7ef4e26.tar.zst
yuzu-8e86fa7e6033d7d65c781eb332d5d750f7ef4e26.zip
Diffstat (limited to '')
-rw-r--r--src/core/loader/loader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp
index b8f8f1448..7c48e55e1 100644
--- a/src/core/loader/loader.cpp
+++ b/src/core/loader/loader.cpp
@@ -25,7 +25,7 @@ namespace Loader {
namespace {
-template <Common::IsBaseOf<AppLoader> T>
+template <Common::DerivedFrom<AppLoader> T>
std::optional<FileType> IdentifyFileLoader(FileSys::VirtualFile file) {
const auto file_type = T::IdentifyType(file);
if (file_type != FileType::Error) {