summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bunnei2019-03-21 21:42:17 -0400
committerGravatar GitHub2019-03-21 21:42:17 -0400
commite703772c83b8f5ed83095b3378ef3f95ba3b3bf3 (patch)
treed19f2466a76be23b414b6f3356c7def50d33fc53
parentMerge pull request #1933 from DarkLordZach/cheat-engine (diff)
parentservice/am: Add function table for IDebugFunctions (diff)
downloadyuzu-e703772c83b8f5ed83095b3378ef3f95ba3b3bf3.tar.gz
yuzu-e703772c83b8f5ed83095b3378ef3f95ba3b3bf3.tar.xz
yuzu-e703772c83b8f5ed83095b3378ef3f95ba3b3bf3.zip
Merge pull request #2276 from lioncash/am
service/am: Add function table for IDebugFunctions
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/am/am.cpp16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index c750d70ac..9c44e27c6 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -215,7 +215,21 @@ IDisplayController::IDisplayController() : ServiceFramework("IDisplayController"
215 215
216IDisplayController::~IDisplayController() = default; 216IDisplayController::~IDisplayController() = default;
217 217
218IDebugFunctions::IDebugFunctions() : ServiceFramework("IDebugFunctions") {} 218IDebugFunctions::IDebugFunctions() : ServiceFramework{"IDebugFunctions"} {
219 // clang-format off
220 static const FunctionInfo functions[] = {
221 {0, nullptr, "NotifyMessageToHomeMenuForDebug"},
222 {1, nullptr, "OpenMainApplication"},
223 {10, nullptr, "EmulateButtonEvent"},
224 {20, nullptr, "InvalidateTransitionLayer"},
225 {30, nullptr, "RequestLaunchApplicationWithUserAndArgumentForDebug"},
226 {40, nullptr, "GetAppletResourceUsageInfo"},
227 };
228 // clang-format on
229
230 RegisterHandlers(functions);
231}
232
219IDebugFunctions::~IDebugFunctions() = default; 233IDebugFunctions::~IDebugFunctions() = default;
220 234
221ISelfController::ISelfController(std::shared_ptr<NVFlinger::NVFlinger> nvflinger) 235ISelfController::ISelfController(std::shared_ptr<NVFlinger::NVFlinger> nvflinger)