diff options
author | bunnei <bunneidev@gmail.com> | 2019-04-16 03:46:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-16 03:46:15 +0200 |
commit | 9186f76b07309cb87dfffd19741d9d8c82752e33 (patch) | |
tree | fbd166664700e2ede800df1a3574872cd0e1578b /src/core/hle/service/pm | |
parent | Merge pull request #2393 from lioncash/svc (diff) | |
parent | service: Update service function tables (diff) | |
download | yuzu-9186f76b07309cb87dfffd19741d9d8c82752e33.tar yuzu-9186f76b07309cb87dfffd19741d9d8c82752e33.tar.gz yuzu-9186f76b07309cb87dfffd19741d9d8c82752e33.tar.bz2 yuzu-9186f76b07309cb87dfffd19741d9d8c82752e33.tar.lz yuzu-9186f76b07309cb87dfffd19741d9d8c82752e33.tar.xz yuzu-9186f76b07309cb87dfffd19741d9d8c82752e33.tar.zst yuzu-9186f76b07309cb87dfffd19741d9d8c82752e33.zip |
Diffstat (limited to 'src/core/hle/service/pm')
-rw-r--r-- | src/core/hle/service/pm/pm.cpp | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/src/core/hle/service/pm/pm.cpp b/src/core/hle/service/pm/pm.cpp index 6b27dc4a3..ebcc41a43 100644 --- a/src/core/hle/service/pm/pm.cpp +++ b/src/core/hle/service/pm/pm.cpp @@ -42,15 +42,18 @@ private: class DebugMonitor final : public ServiceFramework<DebugMonitor> { public: explicit DebugMonitor() : ServiceFramework{"pm:dmnt"} { + // clang-format off static const FunctionInfo functions[] = { - {0, nullptr, "IsDebugMode"}, - {1, nullptr, "GetDebugProcesses"}, - {2, nullptr, "StartDebugProcess"}, - {3, nullptr, "GetTitlePid"}, - {4, nullptr, "EnableDebugForTitleId"}, - {5, nullptr, "GetApplicationPid"}, - {6, nullptr, "EnableDebugForApplication"}, + {0, nullptr, "GetDebugProcesses"}, + {1, nullptr, "StartDebugProcess"}, + {2, nullptr, "GetTitlePid"}, + {3, nullptr, "EnableDebugForTitleId"}, + {4, nullptr, "GetApplicationPid"}, + {5, nullptr, "EnableDebugForApplication"}, + {6, nullptr, "DisableDebug"}, }; + // clang-format on + RegisterHandlers(functions); } }; @@ -68,6 +71,7 @@ public: class Shell final : public ServiceFramework<Shell> { public: explicit Shell() : ServiceFramework{"pm:shell"} { + // clang-format off static const FunctionInfo functions[] = { {0, nullptr, "LaunchProcess"}, {1, nullptr, "TerminateProcessByPid"}, @@ -77,7 +81,10 @@ public: {5, nullptr, "NotifyBootFinished"}, {6, nullptr, "GetApplicationPid"}, {7, nullptr, "BoostSystemMemoryResourceLimit"}, + {8, nullptr, "EnableAdditionalSystemThreads"}, }; + // clang-format on + RegisterHandlers(functions); } }; |