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