aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-07-21 19:22:14 -0400
committerLiam <byteslice@airmail.cc>2023-07-21 19:22:14 -0400
commit4bee333d847783582f94b5212cb7641e0936dc4c (patch)
treeb7ac3b4f1c89eafd006fcfd52f487cda60c5cf05 /src/core/core.cpp
parentefda6cc9ec4b917ff1478f0bf3a181efec929553 (diff)
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 9e3eb37959..48233d7c82 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;
}