2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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);
} }
}; };