summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorGravatar Liam2023-07-21 19:22:14 -0400
committerGravatar Liam2023-07-21 19:22:14 -0400
commit4bee333d847783582f94b5212cb7641e0936dc4c (patch)
treeb7ac3b4f1c89eafd006fcfd52f487cda60c5cf05 /src/core/core.cpp
parentMerge pull request #11123 from Morph1984/remove-mem-hungry-opts (diff)
downloadyuzu-4bee333d847783582f94b5212cb7641e0936dc4c.tar.gz
yuzu-4bee333d847783582f94b5212cb7641e0936dc4c.tar.xz
yuzu-4bee333d847783582f94b5212cb7641e0936dc4c.zip
general: reduce use of dynamic_cast
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp8
1 files changed, 8 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 {
880 return *impl->content_provider; 880 return *impl->content_provider;
881} 881}
882 882
883FileSys::ContentProviderUnion& System::GetContentProviderUnion() {
884 return *impl->content_provider;
885}
886
887const FileSys::ContentProviderUnion& System::GetContentProviderUnion() const {
888 return *impl->content_provider;
889}
890
883Service::FileSystem::FileSystemController& System::GetFileSystemController() { 891Service::FileSystem::FileSystemController& System::GetFileSystemController() {
884 return impl->fs_controller; 892 return impl->fs_controller;
885} 893}