summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-03-22 02:42:17 +0100
committerGitHub <noreply@github.com>2019-03-22 02:42:17 +0100
commite703772c83b8f5ed83095b3378ef3f95ba3b3bf3 (patch)
treed19f2466a76be23b414b6f3356c7def50d33fc53 /src/core/hle/service
parentMerge pull request #1933 from DarkLordZach/cheat-engine (diff)
parentservice/am: Add function table for IDebugFunctions (diff)
downloadyuzu-e703772c83b8f5ed83095b3378ef3f95ba3b3bf3.tar
yuzu-e703772c83b8f5ed83095b3378ef3f95ba3b3bf3.tar.gz
yuzu-e703772c83b8f5ed83095b3378ef3f95ba3b3bf3.tar.bz2
yuzu-e703772c83b8f5ed83095b3378ef3f95ba3b3bf3.tar.lz
yuzu-e703772c83b8f5ed83095b3378ef3f95ba3b3bf3.tar.xz
yuzu-e703772c83b8f5ed83095b3378ef3f95ba3b3bf3.tar.zst
yuzu-e703772c83b8f5ed83095b3378ef3f95ba3b3bf3.zip
Diffstat (limited to 'src/core/hle/service')
-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"
IDisplayController::~IDisplayController() = default;
-IDebugFunctions::IDebugFunctions() : ServiceFramework("IDebugFunctions") {}
+IDebugFunctions::IDebugFunctions() : ServiceFramework{"IDebugFunctions"} {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {0, nullptr, "NotifyMessageToHomeMenuForDebug"},
+ {1, nullptr, "OpenMainApplication"},
+ {10, nullptr, "EmulateButtonEvent"},
+ {20, nullptr, "InvalidateTransitionLayer"},
+ {30, nullptr, "RequestLaunchApplicationWithUserAndArgumentForDebug"},
+ {40, nullptr, "GetAppletResourceUsageInfo"},
+ };
+ // clang-format on
+
+ RegisterHandlers(functions);
+}
+
IDebugFunctions::~IDebugFunctions() = default;
ISelfController::ISelfController(std::shared_ptr<NVFlinger::NVFlinger> nvflinger)