summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/am.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-07-08 03:40:30 +0200
committerGitHub <noreply@github.com>2019-07-08 03:40:30 +0200
commit7b28f954c900536887ce2580d1e654e913580809 (patch)
treeda6e03823d7461f8e02e2deb0fbb8ff521b8e491 /src/core/hle/service/am/am.h
parentMerge pull request #2642 from DarkLordZach/fsp-log-2 (diff)
parentam: Implement SetCpuBoostMode in terms of APM (diff)
downloadyuzu-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.h5
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;
};