diff options
author | Lioncash <mathew1800@gmail.com> | 2019-04-10 20:48:37 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-04-11 08:47:00 +0200 |
commit | ca96dc46767afcc6f6d9eedf68938c0a948cfecf (patch) | |
tree | 280b50ba4626e7e437ae1f560cf2b4effb3650c9 /src/core/hle/service/pm | |
parent | Merge pull request #2354 from lioncash/header (diff) | |
download | yuzu-ca96dc46767afcc6f6d9eedf68938c0a948cfecf.tar yuzu-ca96dc46767afcc6f6d9eedf68938c0a948cfecf.tar.gz yuzu-ca96dc46767afcc6f6d9eedf68938c0a948cfecf.tar.bz2 yuzu-ca96dc46767afcc6f6d9eedf68938c0a948cfecf.tar.lz yuzu-ca96dc46767afcc6f6d9eedf68938c0a948cfecf.tar.xz yuzu-ca96dc46767afcc6f6d9eedf68938c0a948cfecf.tar.zst yuzu-ca96dc46767afcc6f6d9eedf68938c0a948cfecf.zip |
Diffstat (limited to '')
-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); } }; |