summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/apm/apm.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-01-15 23:19:32 +0100
committerbunnei <bunneidev@gmail.com>2018-01-17 01:00:32 +0100
commitc5a0408ccca4af6dc27e627a077d5480a3784e84 (patch)
tree2fc577a9889dcf605e21ef66768bd177fe1a5674 /src/core/hle/service/apm/apm.h
parentAppletOE: Stub a bunch of functions required by libnx homebrew. (diff)
downloadyuzu-c5a0408ccca4af6dc27e627a077d5480a3784e84.tar
yuzu-c5a0408ccca4af6dc27e627a077d5480a3784e84.tar.gz
yuzu-c5a0408ccca4af6dc27e627a077d5480a3784e84.tar.bz2
yuzu-c5a0408ccca4af6dc27e627a077d5480a3784e84.tar.lz
yuzu-c5a0408ccca4af6dc27e627a077d5480a3784e84.tar.xz
yuzu-c5a0408ccca4af6dc27e627a077d5480a3784e84.tar.zst
yuzu-c5a0408ccca4af6dc27e627a077d5480a3784e84.zip
Diffstat (limited to 'src/core/hle/service/apm/apm.h')
-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.