diff options
author | bunnei <bunneidev@gmail.com> | 2019-07-08 03:40:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-08 03:40:30 +0200 |
commit | 7b28f954c900536887ce2580d1e654e913580809 (patch) | |
tree | da6e03823d7461f8e02e2deb0fbb8ff521b8e491 /src/core/core.cpp | |
parent | Merge pull request #2642 from DarkLordZach/fsp-log-2 (diff) | |
parent | am: Implement SetCpuBoostMode in terms of APM (diff) | |
download | yuzu-7b28f954c900536887ce2580d1e654e913580809.tar yuzu-7b28f954c900536887ce2580d1e654e913580809.tar.gz yuzu-7b28f954c900536887ce2580d1e654e913580809.tar.bz2 yuzu-7b28f954c900536887ce2580d1e654e913580809.tar.lz yuzu-7b28f954c900536887ce2580d1e654e913580809.tar.xz yuzu-7b28f954c900536887ce2580d1e654e913580809.tar.zst yuzu-7b28f954c900536887ce2580d1e654e913580809.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/core.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 773087154..4aceee785 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -25,6 +25,7 @@ #include "core/hle/kernel/scheduler.h" #include "core/hle/kernel/thread.h" #include "core/hle/service/am/applets/applets.h" +#include "core/hle/service/apm/controller.h" #include "core/hle/service/glue/manager.h" #include "core/hle/service/service.h" #include "core/hle/service/sm/sm.h" @@ -306,6 +307,9 @@ struct System::Impl { /// Frontend applets Service::AM::Applets::AppletManager applet_manager; + /// APM (Performance) services + Service::APM::Controller apm_controller{core_timing}; + /// Glue services Service::Glue::ARPManager arp_manager; @@ -568,6 +572,14 @@ const Service::Glue::ARPManager& System::GetARPManager() const { return impl->arp_manager; } +Service::APM::Controller& System::GetAPMController() { + return impl->apm_controller; +} + +const Service::APM::Controller& System::GetAPMController() const { + return impl->apm_controller; +} + System::ResultStatus System::Init(Frontend::EmuWindow& emu_window) { return impl->Init(*this, emu_window); } |