summaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-08-16 17:04:38 -0400
committerZach Hilman <zachhilman@gmail.com>2018-08-23 11:52:44 -0400
commitef3768f323fc06eb41c603fe797a26412424acd4 (patch)
tree9949bb6b334d3ab0f0991e981e3991225d1d9cb3 /src/yuzu/main.cpp
parent410062031b0c29d63abb21e1b9ce70b4b700ae8f (diff)
filesystem: Add CreateFactories methods to fs
Allows frontend to create registration caches for use before a game has booted.
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index c62360bd4..bbd1feb85 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -122,8 +122,7 @@ GMainWindow::GMainWindow()
show();
// Necessary to load titles from nand in gamelist.
- Service::FileSystem::RegisterBIS(std::make_unique<FileSys::BISFactory>(vfs->OpenDirectory(
- FileUtil::GetUserPath(FileUtil::UserPath::NANDDir), FileSys::Mode::ReadWrite)));
+ Service::FileSystem::CreateFactories(vfs);
game_list->PopulateAsync(UISettings::values.gamedir, UISettings::values.gamedir_deepscan);
// Show one-time "callout" messages to the user