summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-21 20:47:59 +0100
committerLioncash <mathew1800@gmail.com>2019-03-21 20:58:03 +0100
commit76f27d1f4480a01ac6b5bcf896c62463f8a95835 (patch)
tree837334e2d1b66348cfebbdef79080e9c0cc9922a /src
parentMerge pull request #2260 from lioncash/sdl (diff)
downloadyuzu-76f27d1f4480a01ac6b5bcf896c62463f8a95835.tar
yuzu-76f27d1f4480a01ac6b5bcf896c62463f8a95835.tar.gz
yuzu-76f27d1f4480a01ac6b5bcf896c62463f8a95835.tar.bz2
yuzu-76f27d1f4480a01ac6b5bcf896c62463f8a95835.tar.lz
yuzu-76f27d1f4480a01ac6b5bcf896c62463f8a95835.tar.xz
yuzu-76f27d1f4480a01ac6b5bcf896c62463f8a95835.tar.zst
yuzu-76f27d1f4480a01ac6b5bcf896c62463f8a95835.zip
Diffstat (limited to 'src')
-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)