2014-11-12 21:13:08 +00:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
2014-12-17 05:38:14 +00:00
|
|
|
// Licensed under GPLv2 or any later version
|
2014-11-12 21:13:08 +00:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "core/hle/service/pm_app.h"
|
|
|
|
|
2016-12-10 12:51:50 +00:00
|
|
|
namespace Service {
|
|
|
|
namespace PM {
|
2014-11-12 21:13:08 +00:00
|
|
|
|
|
|
|
const Interface::FunctionInfo FunctionTable[] = {
|
2016-12-08 04:54:33 +00:00
|
|
|
// clang-format off
|
2016-09-18 00:38:01 +00:00
|
|
|
{0x00010140, nullptr, "LaunchTitle"},
|
2016-12-08 04:54:33 +00:00
|
|
|
{0x00020082, nullptr, "LaunchFIRM"},
|
|
|
|
{0x00030080, nullptr, "TerminateApplication"},
|
|
|
|
{0x00040100, nullptr, "TerminateTitle"},
|
|
|
|
{0x000500C0, nullptr, "TerminateProcess"},
|
|
|
|
{0x00060082, nullptr, "PrepareForReboot"},
|
2016-09-18 00:38:01 +00:00
|
|
|
{0x00070042, nullptr, "GetFIRMLaunchParams"},
|
|
|
|
{0x00080100, nullptr, "GetTitleExheaderFlags"},
|
|
|
|
{0x00090042, nullptr, "SetFIRMLaunchParams"},
|
2016-12-08 04:54:33 +00:00
|
|
|
{0x000A0140, nullptr, "SetAppResourceLimit"},
|
|
|
|
{0x000B0140, nullptr, "GetAppResourceLimit"},
|
2016-09-18 00:38:01 +00:00
|
|
|
{0x000C0080, nullptr, "UnregisterProcess"},
|
|
|
|
{0x000D0240, nullptr, "LaunchTitleUpdate"},
|
2016-12-08 04:54:33 +00:00
|
|
|
// clang-format on
|
2014-11-12 21:13:08 +00:00
|
|
|
};
|
|
|
|
|
2016-12-10 12:51:50 +00:00
|
|
|
PM_APP::PM_APP() {
|
2015-01-30 18:56:49 +00:00
|
|
|
Register(FunctionTable);
|
2014-11-12 21:13:08 +00:00
|
|
|
}
|
|
|
|
|
2016-12-10 12:51:50 +00:00
|
|
|
} // namespace PM
|
|
|
|
} // namespace Service
|