1
0
Fork 0
forked from suyu/suyu

es: Update service function tables

Updated based off information provided by Switchbrew.
This commit is contained in:
Lioncash 2018-10-19 04:12:26 -04:00
parent a653be3510
commit 1833498617

View file

@ -9,6 +9,7 @@ namespace Service::ES {
class ETicket final : public ServiceFramework<ETicket> { class ETicket final : public ServiceFramework<ETicket> {
public: public:
explicit ETicket() : ServiceFramework{"es"} { explicit ETicket() : ServiceFramework{"es"} {
// clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{1, nullptr, "ImportTicket"}, {1, nullptr, "ImportTicket"},
{2, nullptr, "ImportTicketCertificateSet"}, {2, nullptr, "ImportTicketCertificateSet"},
@ -37,15 +38,18 @@ public:
{25, nullptr, "DeletePrepurchaseRecord"}, {25, nullptr, "DeletePrepurchaseRecord"},
{26, nullptr, "DeleteAllPrepurchaseRecord"}, {26, nullptr, "DeleteAllPrepurchaseRecord"},
{27, nullptr, "CountPrepurchaseRecord"}, {27, nullptr, "CountPrepurchaseRecord"},
{28, nullptr, "ListPrepurchaseRecord"}, {28, nullptr, "ListPrepurchaseRecordRightsIds"},
{29, nullptr, "ListPrepurchaseRecordInfo"}, {29, nullptr, "ListPrepurchaseRecordInfo"},
{30, nullptr, "Unknown1"}, {30, nullptr, "CountTicket"},
{31, nullptr, "Unknown2"}, {31, nullptr, "ListTicketRightsIds"},
{32, nullptr, "Unknown3"}, {32, nullptr, "CountPrepurchaseRecordEx"},
{33, nullptr, "Unknown4"}, {33, nullptr, "ListPrepurchaseRecordRightsIdsEx"},
{34, nullptr, "Unknown5"}, {34, nullptr, "GetEncryptedTicketSize"},
{35, nullptr, "Unknown6"}, {35, nullptr, "GetEncryptedTicketData"},
{36, nullptr, "DeleteAllInactiveELicenseRequiredPersonalizedTicket"},
{503, nullptr, "GetTitleKey"},
}; };
// clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
} }
}; };