summaryrefslogtreecommitdiffstats
path: root/src/core/loader
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-24 04:08:12 +0200
committerGitHub <noreply@github.com>2018-07-24 04:08:12 +0200
commit84cc5dd35dade0f8f7f64ccb45f4db5ba21ab987 (patch)
treee24d65c3f057b0b0299b59a881ec77ae8f84af09 /src/core/loader
parentMerge pull request #783 from lioncash/linker (diff)
parentloader: Remove unnecessary constructor call in IdentifyFile() (diff)
downloadyuzu-84cc5dd35dade0f8f7f64ccb45f4db5ba21ab987.tar
yuzu-84cc5dd35dade0f8f7f64ccb45f4db5ba21ab987.tar.gz
yuzu-84cc5dd35dade0f8f7f64ccb45f4db5ba21ab987.tar.bz2
yuzu-84cc5dd35dade0f8f7f64ccb45f4db5ba21ab987.tar.lz
yuzu-84cc5dd35dade0f8f7f64ccb45f4db5ba21ab987.tar.xz
yuzu-84cc5dd35dade0f8f7f64ccb45f4db5ba21ab987.tar.zst
yuzu-84cc5dd35dade0f8f7f64ccb45f4db5ba21ab987.zip
Diffstat (limited to 'src/core/loader')
-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 4cbd9e285..cbc4177c6 100644
--- a/src/core/loader/loader.cpp
+++ b/src/core/loader/loader.cpp
@@ -42,7 +42,7 @@ FileType IdentifyFile(FileSys::VirtualFile file) {
}
FileType IdentifyFile(const std::string& file_name) {
- return IdentifyFile(FileSys::VirtualFile(std::make_shared<FileSys::RealVfsFile>(file_name)));
+ return IdentifyFile(std::make_shared<FileSys::RealVfsFile>(file_name));
}
FileType GuessFromFilename(const std::string& name) {