summaryrefslogtreecommitdiffstats
path: root/src/yuzu_tester
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-09-22 00:43:11 +0200
committerZach Hilman <zachhilman@gmail.com>2019-09-22 00:43:20 +0200
commit038bcec11153cefd713ddb06eddcc42b0a936df2 (patch)
treedb5abfb3d9b350ce931ec89ad8722233c8534a5e /src/yuzu_tester
parentconfig: Remove Dump options from configure_debug (diff)
downloadyuzu-038bcec11153cefd713ddb06eddcc42b0a936df2.tar
yuzu-038bcec11153cefd713ddb06eddcc42b0a936df2.tar.gz
yuzu-038bcec11153cefd713ddb06eddcc42b0a936df2.tar.bz2
yuzu-038bcec11153cefd713ddb06eddcc42b0a936df2.tar.lz
yuzu-038bcec11153cefd713ddb06eddcc42b0a936df2.tar.xz
yuzu-038bcec11153cefd713ddb06eddcc42b0a936df2.tar.zst
yuzu-038bcec11153cefd713ddb06eddcc42b0a936df2.zip
Diffstat (limited to 'src/yuzu_tester')
-rw-r--r--src/yuzu_tester/yuzu.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/yuzu_tester/yuzu.cpp b/src/yuzu_tester/yuzu.cpp
index 0ee97aa54..94ad50cb3 100644
--- a/src/yuzu_tester/yuzu.cpp
+++ b/src/yuzu_tester/yuzu.cpp
@@ -22,6 +22,7 @@
#include "common/telemetry.h"
#include "core/core.h"
#include "core/crypto/key_manager.h"
+#include "core/file_sys/registered_cache.h"
#include "core/file_sys/vfs_real.h"
#include "core/hle/service/filesystem/filesystem.h"
#include "core/loader/loader.h"
@@ -216,8 +217,9 @@ int main(int argc, char** argv) {
};
Core::System& system{Core::System::GetInstance()};
+ system.SetContentProvider(std::make_unique<FileSys::ContentProviderUnion>());
system.SetFilesystem(std::make_shared<FileSys::RealVfsFilesystem>());
- Service::FileSystem::CreateFactories(*system.GetFilesystem());
+ system.GetFileSystemController().CreateFactories(*system.GetFilesystem());
SCOPE_EXIT({ system.Shutdown(); });