diff options
| author | 2019-03-21 21:42:17 -0400 | |
|---|---|---|
| committer | 2019-03-21 21:42:17 -0400 | |
| commit | e703772c83b8f5ed83095b3378ef3f95ba3b3bf3 (patch) | |
| tree | d19f2466a76be23b414b6f3356c7def50d33fc53 /src/core | |
| parent | Merge pull request #1933 from DarkLordZach/cheat-engine (diff) | |
| parent | service/am: Add function table for IDebugFunctions (diff) | |
| download | yuzu-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 'src/core')
| -rw-r--r-- | src/core/hle/service/am/am.cpp | 16 |
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 | ||
| 216 | IDisplayController::~IDisplayController() = default; | 216 | IDisplayController::~IDisplayController() = default; |
| 217 | 217 | ||
| 218 | IDebugFunctions::IDebugFunctions() : ServiceFramework("IDebugFunctions") {} | 218 | IDebugFunctions::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 | |||
| 219 | IDebugFunctions::~IDebugFunctions() = default; | 233 | IDebugFunctions::~IDebugFunctions() = default; |
| 220 | 234 | ||
| 221 | ISelfController::ISelfController(std::shared_ptr<NVFlinger::NVFlinger> nvflinger) | 235 | ISelfController::ISelfController(std::shared_ptr<NVFlinger::NVFlinger> nvflinger) |