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/hle/service/am/am.h | |
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 'src/core/hle/service/am/am.h')
-rw-r--r-- | src/core/hle/service/am/am.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/hle/service/am/am.h b/src/core/hle/service/am/am.h index 49ff20959..14b010164 100644 --- a/src/core/hle/service/am/am.h +++ b/src/core/hle/service/am/am.h @@ -146,7 +146,8 @@ private: class ICommonStateGetter final : public ServiceFramework<ICommonStateGetter> { public: - explicit ICommonStateGetter(std::shared_ptr<AppletMessageQueue> msg_queue); + explicit ICommonStateGetter(Core::System& system, + std::shared_ptr<AppletMessageQueue> msg_queue); ~ICommonStateGetter() override; private: @@ -168,7 +169,9 @@ private: void GetPerformanceMode(Kernel::HLERequestContext& ctx); void GetBootMode(Kernel::HLERequestContext& ctx); void GetDefaultDisplayResolution(Kernel::HLERequestContext& ctx); + void SetCpuBoostMode(Kernel::HLERequestContext& ctx); + Core::System& system; std::shared_ptr<AppletMessageQueue> msg_queue; }; |