mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-11-24 05:38:28 +00:00
Merge pull request #2276 from lioncash/am
service/am: Add function table for IDebugFunctions
This commit is contained in:
commit
e703772c83
1 changed files with 15 additions and 1 deletions
|
@ -215,7 +215,21 @@ IDisplayController::IDisplayController() : ServiceFramework("IDisplayController"
|
||||||
|
|
||||||
IDisplayController::~IDisplayController() = default;
|
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;
|
IDebugFunctions::~IDebugFunctions() = default;
|
||||||
|
|
||||||
ISelfController::ISelfController(std::shared_ptr<NVFlinger::NVFlinger> nvflinger)
|
ISelfController::ISelfController(std::shared_ptr<NVFlinger::NVFlinger> nvflinger)
|
||||||
|
|
Loading…
Reference in a new issue