aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/am/idle.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-31 07:01:49 -0400
committerLioncash <mathew1800@gmail.com>2018-07-31 08:02:20 -0400
commit7da8f15461a1d352a03f43b650b697206fe924a3 (patch)
treecaf39f515f6cc4327c694fc68cc855c1973ef06d /src/core/hle/service/am/idle.cpp
parentbf9c62bc76a2296c1a81cfc1b83aaf4028578901 (diff)
service/am: Add missing am services
Adds the basic skeleton for missing am services idle:sys, omm, and spsm based off the information provided by Switch Brew.
Diffstat (limited to 'src/core/hle/service/am/idle.cpp')
-rw-r--r--src/core/hle/service/am/idle.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/core/hle/service/am/idle.cpp b/src/core/hle/service/am/idle.cpp
new file mode 100644
index 000000000..af46e9494
--- /dev/null
+++ b/src/core/hle/service/am/idle.cpp
@@ -0,0 +1,24 @@
+// Copyright 2018 yuzu emulator team
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#include "core/hle/service/am/idle.h"
+
+namespace Service::AM {
+
+IdleSys::IdleSys() : ServiceFramework{"idle:sys"} {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {0, nullptr, "GetAutoPowerDownEvent"},
+ {1, nullptr, "Unknown1"},
+ {2, nullptr, "Unknown2"},
+ {3, nullptr, "Unknown3"},
+ {4, nullptr, "Unknown4"},
+ {5, nullptr, "Unknown5"},
+ };
+ // clang-format on
+
+ RegisterHandlers(functions);
+}
+
+} // namespace Service::AM