diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-06-29 04:46:31 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-06-29 04:46:31 +0200 |
commit | e2ad3e1fb0771a5280601dbcb9bafe9ebe323492 (patch) | |
tree | 871565865a018bbc32b22d7ec71203604eb6a5ca /src/core/core.cpp | |
parent | apm: Implement SetCpuBoostMode (diff) | |
download | yuzu-e2ad3e1fb0771a5280601dbcb9bafe9ebe323492.tar yuzu-e2ad3e1fb0771a5280601dbcb9bafe9ebe323492.tar.gz yuzu-e2ad3e1fb0771a5280601dbcb9bafe9ebe323492.tar.bz2 yuzu-e2ad3e1fb0771a5280601dbcb9bafe9ebe323492.tar.lz yuzu-e2ad3e1fb0771a5280601dbcb9bafe9ebe323492.tar.xz yuzu-e2ad3e1fb0771a5280601dbcb9bafe9ebe323492.tar.zst yuzu-e2ad3e1fb0771a5280601dbcb9bafe9ebe323492.zip |
Diffstat (limited to 'src/core/core.cpp')
-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 df26eb109..fa6fc357d 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" @@ -304,6 +305,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; @@ -566,6 +570,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); } |