diff options
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 11bf8d2f6..2bf377b24 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -36,7 +36,7 @@ | |||
| 36 | #include "core/hle/kernel/kernel.h" | 36 | #include "core/hle/kernel/kernel.h" |
| 37 | #include "core/hle/kernel/physical_core.h" | 37 | #include "core/hle/kernel/physical_core.h" |
| 38 | #include "core/hle/service/acc/profile_manager.h" | 38 | #include "core/hle/service/acc/profile_manager.h" |
| 39 | #include "core/hle/service/am/applets/applets.h" | 39 | #include "core/hle/service/am/frontend/applets.h" |
| 40 | #include "core/hle/service/apm/apm_controller.h" | 40 | #include "core/hle/service/apm/apm_controller.h" |
| 41 | #include "core/hle/service/filesystem/filesystem.h" | 41 | #include "core/hle/service/filesystem/filesystem.h" |
| 42 | #include "core/hle/service/glue/glue_manager.h" | 42 | #include "core/hle/service/glue/glue_manager.h" |
| @@ -135,8 +135,8 @@ FileSys::VirtualFile GetGameFileFromPath(const FileSys::VirtualFilesystem& vfs, | |||
| 135 | 135 | ||
| 136 | struct System::Impl { | 136 | struct System::Impl { |
| 137 | explicit Impl(System& system) | 137 | explicit Impl(System& system) |
| 138 | : kernel{system}, fs_controller{system}, hid_core{}, room_network{}, | 138 | : kernel{system}, fs_controller{system}, hid_core{}, room_network{}, cpu_manager{system}, |
| 139 | cpu_manager{system}, reporter{system}, applet_manager{system}, profile_manager{} {} | 139 | reporter{system}, frontend_applets{system}, profile_manager{} {} |
| 140 | 140 | ||
| 141 | void Initialize(System& system) { | 141 | void Initialize(System& system) { |
| 142 | device_memory = std::make_unique<Core::DeviceMemory>(); | 142 | device_memory = std::make_unique<Core::DeviceMemory>(); |
| @@ -157,7 +157,7 @@ struct System::Impl { | |||
| 157 | } | 157 | } |
| 158 | 158 | ||
| 159 | // Create default implementations of applets if one is not provided. | 159 | // Create default implementations of applets if one is not provided. |
| 160 | applet_manager.SetDefaultAppletsIfMissing(); | 160 | frontend_applets.SetDefaultAppletsIfMissing(); |
| 161 | 161 | ||
| 162 | is_async_gpu = Settings::values.use_asynchronous_gpu_emulation.GetValue(); | 162 | is_async_gpu = Settings::values.use_asynchronous_gpu_emulation.GetValue(); |
| 163 | 163 | ||
| @@ -567,7 +567,7 @@ struct System::Impl { | |||
| 567 | std::unique_ptr<Tools::RenderdocAPI> renderdoc_api; | 567 | std::unique_ptr<Tools::RenderdocAPI> renderdoc_api; |
| 568 | 568 | ||
| 569 | /// Frontend applets | 569 | /// Frontend applets |
| 570 | Service::AM::Applets::AppletManager applet_manager; | 570 | Service::AM::Frontend::FrontendAppletHolder frontend_applets; |
| 571 | 571 | ||
| 572 | /// APM (Performance) services | 572 | /// APM (Performance) services |
| 573 | Service::APM::Controller apm_controller{core_timing}; | 573 | Service::APM::Controller apm_controller{core_timing}; |
| @@ -871,20 +871,20 @@ void System::RegisterCheatList(const std::vector<Memory::CheatEntry>& list, | |||
| 871 | impl->cheat_engine->SetMainMemoryParameters(main_region_begin, main_region_size); | 871 | impl->cheat_engine->SetMainMemoryParameters(main_region_begin, main_region_size); |
| 872 | } | 872 | } |
| 873 | 873 | ||
| 874 | void System::SetAppletFrontendSet(Service::AM::Applets::AppletFrontendSet&& set) { | 874 | void System::SetFrontendAppletSet(Service::AM::Frontend::FrontendAppletSet&& set) { |
| 875 | impl->applet_manager.SetAppletFrontendSet(std::move(set)); | 875 | impl->frontend_applets.SetFrontendAppletSet(std::move(set)); |
| 876 | } | 876 | } |
| 877 | 877 | ||
| 878 | void System::SetDefaultAppletFrontendSet() { | 878 | void System::SetDefaultAppletFrontendSet() { |
| 879 | impl->applet_manager.SetDefaultAppletFrontendSet(); | 879 | impl->frontend_applets.SetDefaultAppletFrontendSet(); |
| 880 | } | 880 | } |
| 881 | 881 | ||
| 882 | Service::AM::Applets::AppletManager& System::GetAppletManager() { | 882 | Service::AM::Frontend::FrontendAppletHolder& System::GetFrontendAppletHolder() { |
| 883 | return impl->applet_manager; | 883 | return impl->frontend_applets; |
| 884 | } | 884 | } |
| 885 | 885 | ||
| 886 | const Service::AM::Applets::AppletManager& System::GetAppletManager() const { | 886 | const Service::AM::Frontend::FrontendAppletHolder& System::GetFrontendAppletHolder() const { |
| 887 | return impl->applet_manager; | 887 | return impl->frontend_applets; |
| 888 | } | 888 | } |
| 889 | 889 | ||
| 890 | void System::SetContentProvider(std::unique_ptr<FileSys::ContentProviderUnion> provider) { | 890 | void System::SetContentProvider(std::unique_ptr<FileSys::ContentProviderUnion> provider) { |