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