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