summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-07-22 01:22:14 +0200
committerLiam <byteslice@airmail.cc>2023-07-22 01:22:14 +0200
commit4bee333d847783582f94b5212cb7641e0936dc4c (patch)
treeb7ac3b4f1c89eafd006fcfd52f487cda60c5cf05 /src/core
parentMerge pull request #11123 from Morph1984/remove-mem-hungry-opts (diff)
downloadyuzu-4bee333d847783582f94b5212cb7641e0936dc4c.tar
yuzu-4bee333d847783582f94b5212cb7641e0936dc4c.tar.gz
yuzu-4bee333d847783582f94b5212cb7641e0936dc4c.tar.bz2
yuzu-4bee333d847783582f94b5212cb7641e0936dc4c.tar.lz
yuzu-4bee333d847783582f94b5212cb7641e0936dc4c.tar.xz
yuzu-4bee333d847783582f94b5212cb7641e0936dc4c.tar.zst
yuzu-4bee333d847783582f94b5212cb7641e0936dc4c.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core.cpp8
-rw-r--r--src/core/core.h3
2 files changed, 11 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 9e3eb3795..48233d7c8 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -880,6 +880,14 @@ const FileSys::ContentProvider& System::GetContentProvider() const {
return *impl->content_provider;
}
+FileSys::ContentProviderUnion& System::GetContentProviderUnion() {
+ return *impl->content_provider;
+}
+
+const FileSys::ContentProviderUnion& System::GetContentProviderUnion() const {
+ return *impl->content_provider;
+}
+
Service::FileSystem::FileSystemController& System::GetFileSystemController() {
return impl->fs_controller;
}
diff --git a/src/core/core.h b/src/core/core.h
index 14b2f7785..c70ea1965 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -381,6 +381,9 @@ public:
[[nodiscard]] FileSys::ContentProvider& GetContentProvider();
[[nodiscard]] const FileSys::ContentProvider& GetContentProvider() const;
+ [[nodiscard]] FileSys::ContentProviderUnion& GetContentProviderUnion();
+ [[nodiscard]] const FileSys::ContentProviderUnion& GetContentProviderUnion() const;
+
[[nodiscard]] Service::FileSystem::FileSystemController& GetFileSystemController();
[[nodiscard]] const Service::FileSystem::FileSystemController& GetFileSystemController() const;