diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-24 04:08:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-24 04:08:12 +0200 |
commit | 84cc5dd35dade0f8f7f64ccb45f4db5ba21ab987 (patch) | |
tree | e24d65c3f057b0b0299b59a881ec77ae8f84af09 | |
parent | Merge pull request #783 from lioncash/linker (diff) | |
parent | loader: Remove unnecessary constructor call in IdentifyFile() (diff) | |
download | yuzu-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 |
-rw-r--r-- | src/core/loader/loader.cpp | 2 |
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) { |