summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/apm/apm.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-01-17 03:06:52 +0100
committerGitHub <noreply@github.com>2018-01-17 03:06:52 +0100
commit8c05e935bd14ab526e35a33b854e36b30aacdcc0 (patch)
treefd6d1db6ea25ee744f4e65733b4450bdd0fab5ac /src/core/hle/service/apm/apm.h
parentMerge pull request #52 from ogniK5377/fsp (diff)
parentapplet_oe: Fix GetOperationMode and GetPerformanceMode. (diff)
downloadyuzu-8c05e935bd14ab526e35a33b854e36b30aacdcc0.tar
yuzu-8c05e935bd14ab526e35a33b854e36b30aacdcc0.tar.gz
yuzu-8c05e935bd14ab526e35a33b854e36b30aacdcc0.tar.bz2
yuzu-8c05e935bd14ab526e35a33b854e36b30aacdcc0.tar.lz
yuzu-8c05e935bd14ab526e35a33b854e36b30aacdcc0.tar.xz
yuzu-8c05e935bd14ab526e35a33b854e36b30aacdcc0.tar.zst
yuzu-8c05e935bd14ab526e35a33b854e36b30aacdcc0.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/apm/apm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/hle/service/apm/apm.h b/src/core/hle/service/apm/apm.h
index 377db71a4..90a1afbbc 100644
--- a/src/core/hle/service/apm/apm.h
+++ b/src/core/hle/service/apm/apm.h
@@ -9,10 +9,18 @@
namespace Service {
namespace APM {
+enum class PerformanceMode : u8 {
+ Handheld = 0,
+ Docked = 1,
+};
+
class APM final : public ServiceFramework<APM> {
public:
APM();
~APM() = default;
+
+private:
+ void OpenSession(Kernel::HLERequestContext& ctx);
};
/// Registers all AM services with the specified service manager.