summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/yuzu.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-03-04 18:40:53 +0100
committerZach Hilman <zachhilman@gmail.com>2019-03-27 03:05:37 +0100
commit41d2565f2946f10ed1e3faa8c057114900a29945 (patch)
tree5735246fd762a40b6e55e8442341c6e46e0b8ffe /src/yuzu_cmd/yuzu.cpp
parentcore: Port current uses of RegisteredCache to ContentProvider (diff)
downloadyuzu-41d2565f2946f10ed1e3faa8c057114900a29945.tar
yuzu-41d2565f2946f10ed1e3faa8c057114900a29945.tar.gz
yuzu-41d2565f2946f10ed1e3faa8c057114900a29945.tar.bz2
yuzu-41d2565f2946f10ed1e3faa8c057114900a29945.tar.lz
yuzu-41d2565f2946f10ed1e3faa8c057114900a29945.tar.xz
yuzu-41d2565f2946f10ed1e3faa8c057114900a29945.tar.zst
yuzu-41d2565f2946f10ed1e3faa8c057114900a29945.zip
Diffstat (limited to '')
-rw-r--r--src/yuzu_cmd/yuzu.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index 245f25847..7ea4a1b18 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -33,6 +33,7 @@
#include "yuzu_cmd/emu_window/emu_window_sdl2.h"
#include <getopt.h>
+#include "core/file_sys/registered_cache.h"
#ifndef _MSC_VER
#include <unistd.h>
#endif
@@ -178,6 +179,7 @@ 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());