summaryrefslogtreecommitdiffstats
path: root/src/yuzu_tester/yuzu.cpp
diff options
context:
space:
mode:
authorDavid <25727384+ogniK5377@users.noreply.github.com>2019-09-22 03:42:34 +0200
committerGitHub <noreply@github.com>2019-09-22 03:42:34 +0200
commitc9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd (patch)
treee260125fd1ef6e8a29b255b967a447eeb1aeb204 /src/yuzu_tester/yuzu.cpp
parentMerge pull request #2883 from ogniK5377/log-game (diff)
parentconfigure_debug: Move reporting option to logging (diff)
downloadyuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.tar
yuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.tar.gz
yuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.tar.bz2
yuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.tar.lz
yuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.tar.xz
yuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.tar.zst
yuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.zip
Diffstat (limited to 'src/yuzu_tester/yuzu.cpp')
-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(); });