diff options
author | Zach Hilman <DarkLordZach@users.noreply.github.com> | 2018-07-18 21:07:11 -0400 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-07-18 18:07:11 -0700 |
commit | 29aff8d5ab46c8d0199aa4bfa7eeff5d4fa2d7ef (patch) | |
tree | 3202e2ce55ab6387a4ca366a509eccdd963434c3 /src/yuzu/game_list.cpp | |
parent | 924c473bb3a80cf1452949d8c0328912464a6807 (diff) |
Virtual Filesystem 2: Electric Boogaloo (#676)
* Virtual Filesystem
* Fix delete bug and documentate
* Review fixes + other stuff
* Fix puyo regression
Diffstat (limited to 'src/yuzu/game_list.cpp')
-rw-r--r-- | src/yuzu/game_list.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp index 5f43eb177..352bc1839 100644 --- a/src/yuzu/game_list.cpp +++ b/src/yuzu/game_list.cpp @@ -12,6 +12,7 @@ #include "common/common_paths.h" #include "common/logging/log.h" #include "common/string_util.h" +#include "core/file_sys/vfs_real.h" #include "core/loader/loader.h" #include "game_list.h" #include "game_list_p.h" @@ -403,7 +404,8 @@ void GameListWorker::AddFstEntriesToGameList(const std::string& dir_path, unsign bool is_dir = FileUtil::IsDirectory(physical_name); if (!is_dir && (HasSupportedFileExtension(physical_name) || IsExtractedNCAMain(physical_name))) { - std::unique_ptr<Loader::AppLoader> loader = Loader::GetLoader(physical_name); + std::unique_ptr<Loader::AppLoader> loader = + Loader::GetLoader(std::make_shared<FileSys::RealVfsFile>(physical_name)); if (!loader) return true; |