summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2019-03-21 15:47:59 -0400
committerGravatar Lioncash2019-03-21 15:58:03 -0400
commit76f27d1f4480a01ac6b5bcf896c62463f8a95835 (patch)
tree837334e2d1b66348cfebbdef79080e9c0cc9922a
parentMerge pull request #2260 from lioncash/sdl (diff)
downloadyuzu-76f27d1f4480a01ac6b5bcf896c62463f8a95835.tar.gz
yuzu-76f27d1f4480a01ac6b5bcf896c62463f8a95835.tar.xz
yuzu-76f27d1f4480a01ac6b5bcf896c62463f8a95835.zip
service/am: Add function table for IDebugFunctions
We already have the service related stuff set up for this, however, it's missing the function table.
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)