1
0
Fork 0
forked from suyu/suyu

Update function names

This commit is contained in:
VolcaEM 2020-06-27 02:43:22 +02:00 committed by GitHub
parent 3828aa4927
commit bc51a9365b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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, "ListCommonTicketRightsIds"}, {11, &ETicket::ListCommonTicketRightsIds, "ListCommonTicketRightsIds"},
{12, &ETicket::ListPersonalizedTicket, "ListPersonalizedTicketRightsIds"}, {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"},
@ -186,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;
@ -209,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;