diff options
| author | 2023-07-21 19:22:14 -0400 | |
|---|---|---|
| committer | 2023-07-21 19:22:14 -0400 | |
| commit | 4bee333d847783582f94b5212cb7641e0936dc4c (patch) | |
| tree | b7ac3b4f1c89eafd006fcfd52f487cda60c5cf05 /src/core/core.cpp | |
| parent | Merge pull request #11123 from Morph1984/remove-mem-hungry-opts (diff) | |
| download | yuzu-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.cpp | 8 |
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 | ||
| 883 | FileSys::ContentProviderUnion& System::GetContentProviderUnion() { | ||
| 884 | return *impl->content_provider; | ||
| 885 | } | ||
| 886 | |||
| 887 | const FileSys::ContentProviderUnion& System::GetContentProviderUnion() const { | ||
| 888 | return *impl->content_provider; | ||
| 889 | } | ||
| 890 | |||
| 883 | Service::FileSystem::FileSystemController& System::GetFileSystemController() { | 891 | Service::FileSystem::FileSystemController& System::GetFileSystemController() { |
| 884 | return impl->fs_controller; | 892 | return impl->fs_controller; |
| 885 | } | 893 | } |