|
|
@ -27,8 +27,8 @@ public:
|
|
|
|
{8, &ETicket::GetTitleKey, "GetTitleKey"},
|
|
|
|
{8, &ETicket::GetTitleKey, "GetTitleKey"},
|
|
|
|
{9, &ETicket::CountCommonTicket, "CountCommonTicket"},
|
|
|
|
{9, &ETicket::CountCommonTicket, "CountCommonTicket"},
|
|
|
|
{10, &ETicket::CountPersonalizedTicket, "CountPersonalizedTicket"},
|
|
|
|
{10, &ETicket::CountPersonalizedTicket, "CountPersonalizedTicket"},
|
|
|
|
{11, &ETicket::ListCommonTicket, "ListCommonTicket"},
|
|
|
|
{11, &ETicket::ListCommonTicketRightsIds, "ListCommonTicketRightsIds"},
|
|
|
|
{12, &ETicket::ListPersonalizedTicket, "ListPersonalizedTicket"},
|
|
|
|
{12, &ETicket::ListPersonalizedTicketRightsIds, "ListPersonalizedTicketRightsIds"},
|
|
|
|
{13, nullptr, "ListMissingPersonalizedTicket"},
|
|
|
|
{13, nullptr, "ListMissingPersonalizedTicket"},
|
|
|
|
{14, &ETicket::GetCommonTicketSize, "GetCommonTicketSize"},
|
|
|
|
{14, &ETicket::GetCommonTicketSize, "GetCommonTicketSize"},
|
|
|
|
{15, &ETicket::GetPersonalizedTicketSize, "GetPersonalizedTicketSize"},
|
|
|
|
{15, &ETicket::GetPersonalizedTicketSize, "GetPersonalizedTicketSize"},
|
|
|
@ -55,7 +55,46 @@ public:
|
|
|
|
{36, nullptr, "DeleteAllInactiveELicenseRequiredPersonalizedTicket"},
|
|
|
|
{36, nullptr, "DeleteAllInactiveELicenseRequiredPersonalizedTicket"},
|
|
|
|
{37, nullptr, "OwnTicket2"},
|
|
|
|
{37, nullptr, "OwnTicket2"},
|
|
|
|
{38, nullptr, "OwnTicket3"},
|
|
|
|
{38, nullptr, "OwnTicket3"},
|
|
|
|
|
|
|
|
{501, nullptr, "Unknown501"},
|
|
|
|
|
|
|
|
{502, nullptr, "Unknown502"},
|
|
|
|
{503, nullptr, "GetTitleKey"},
|
|
|
|
{503, nullptr, "GetTitleKey"},
|
|
|
|
|
|
|
|
{504, nullptr, "Unknown504"},
|
|
|
|
|
|
|
|
{508, nullptr, "Unknown508"},
|
|
|
|
|
|
|
|
{509, nullptr, "Unknown509"},
|
|
|
|
|
|
|
|
{510, nullptr, "Unknown510"},
|
|
|
|
|
|
|
|
{511, nullptr, "Unknown511"},
|
|
|
|
|
|
|
|
{1001, nullptr, "Unknown1001"},
|
|
|
|
|
|
|
|
{1002, nullptr, "Unknown1001"},
|
|
|
|
|
|
|
|
{1003, nullptr, "Unknown1003"},
|
|
|
|
|
|
|
|
{1004, nullptr, "Unknown1004"},
|
|
|
|
|
|
|
|
{1005, nullptr, "Unknown1005"},
|
|
|
|
|
|
|
|
{1006, nullptr, "Unknown1006"},
|
|
|
|
|
|
|
|
{1007, nullptr, "Unknown1007"},
|
|
|
|
|
|
|
|
{1009, nullptr, "Unknown1009"},
|
|
|
|
|
|
|
|
{1010, nullptr, "Unknown1010"},
|
|
|
|
|
|
|
|
{1011, nullptr, "Unknown1011"},
|
|
|
|
|
|
|
|
{1012, nullptr, "Unknown1012"},
|
|
|
|
|
|
|
|
{1013, nullptr, "Unknown1013"},
|
|
|
|
|
|
|
|
{1014, nullptr, "Unknown1014"},
|
|
|
|
|
|
|
|
{1015, nullptr, "Unknown1015"},
|
|
|
|
|
|
|
|
{1016, nullptr, "Unknown1016"},
|
|
|
|
|
|
|
|
{1017, nullptr, "Unknown1017"},
|
|
|
|
|
|
|
|
{1018, nullptr, "Unknown1018"},
|
|
|
|
|
|
|
|
{1019, nullptr, "Unknown1019"},
|
|
|
|
|
|
|
|
{1020, nullptr, "Unknown1020"},
|
|
|
|
|
|
|
|
{1021, nullptr, "Unknown1021"},
|
|
|
|
|
|
|
|
{1501, nullptr, "Unknown1501"},
|
|
|
|
|
|
|
|
{1502, nullptr, "Unknown1502"},
|
|
|
|
|
|
|
|
{1503, nullptr, "Unknown1503"},
|
|
|
|
|
|
|
|
{1504, nullptr, "Unknown1504"},
|
|
|
|
|
|
|
|
{1505, nullptr, "Unknown1505"},
|
|
|
|
|
|
|
|
{2000, nullptr, "Unknown2000"},
|
|
|
|
|
|
|
|
{2001, nullptr, "Unknown2001"},
|
|
|
|
|
|
|
|
{2100, nullptr, "Unknown2100"},
|
|
|
|
|
|
|
|
{2501, nullptr, "Unknown2501"},
|
|
|
|
|
|
|
|
{2502, nullptr, "Unknown2502"},
|
|
|
|
|
|
|
|
{3001, nullptr, "Unknown3001"},
|
|
|
|
|
|
|
|
{3002, nullptr, "Unknown3002"},
|
|
|
|
};
|
|
|
|
};
|
|
|
|
// clang-format on
|
|
|
|
// clang-format on
|
|
|
|
RegisterHandlers(functions);
|
|
|
|
RegisterHandlers(functions);
|
|
|
@ -147,7 +186,7 @@ private:
|
|
|
|
rb.Push<u32>(count);
|
|
|
|
rb.Push<u32>(count);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void ListCommonTicket(Kernel::HLERequestContext& ctx) {
|
|
|
|
void ListCommonTicketRightsIds(Kernel::HLERequestContext& ctx) {
|
|
|
|
u32 out_entries;
|
|
|
|
u32 out_entries;
|
|
|
|
if (keys.GetCommonTickets().empty())
|
|
|
|
if (keys.GetCommonTickets().empty())
|
|
|
|
out_entries = 0;
|
|
|
|
out_entries = 0;
|
|
|
@ -170,7 +209,7 @@ private:
|
|
|
|
rb.Push<u32>(out_entries);
|
|
|
|
rb.Push<u32>(out_entries);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void ListPersonalizedTicket(Kernel::HLERequestContext& ctx) {
|
|
|
|
void ListPersonalizedTicketRightsIds(Kernel::HLERequestContext& ctx) {
|
|
|
|
u32 out_entries;
|
|
|
|
u32 out_entries;
|
|
|
|
if (keys.GetPersonalizedTickets().empty())
|
|
|
|
if (keys.GetPersonalizedTickets().empty())
|
|
|
|
out_entries = 0;
|
|
|
|
out_entries = 0;
|
|
|
|