filesystem: Add CreateFactories methods to fs

Allows frontend to create registration caches for use before a game has booted.
This commit is contained in:
Zach Hilman
2018-08-16 17:04:38 -04:00
parent 410062031b
commit ef3768f323
3 changed files with 12 additions and 10 deletions

View File

@ -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