diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-06-29 04:46:51 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-06-29 04:46:51 +0200 |
commit | 7e5d7773cc6f6eb7e08dd092bdeef1431c19e6c6 (patch) | |
tree | 71ae13ce3550a37e1ee2c7e0fcd3364d533d29ec /src/core/hle/service/am/am.h | |
parent | core: Keep instance of APM Controller (diff) | |
download | yuzu-7e5d7773cc6f6eb7e08dd092bdeef1431c19e6c6.tar yuzu-7e5d7773cc6f6eb7e08dd092bdeef1431c19e6c6.tar.gz yuzu-7e5d7773cc6f6eb7e08dd092bdeef1431c19e6c6.tar.bz2 yuzu-7e5d7773cc6f6eb7e08dd092bdeef1431c19e6c6.tar.lz yuzu-7e5d7773cc6f6eb7e08dd092bdeef1431c19e6c6.tar.xz yuzu-7e5d7773cc6f6eb7e08dd092bdeef1431c19e6c6.tar.zst yuzu-7e5d7773cc6f6eb7e08dd092bdeef1431c19e6c6.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 4ea609d23..88d1ba27c 100644 --- a/src/core/hle/service/am/am.h +++ b/src/core/hle/service/am/am.h @@ -145,7 +145,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: @@ -167,7 +168,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; }; |