es: Populate/synthesize tickets on construction
This commit is contained in:
parent
f8718ae779
commit
d9ef20e5a5
3 changed files with 17 additions and 15 deletions
|
@ -56,6 +56,9 @@ public:
|
|||
};
|
||||
// clang-format on
|
||||
RegisterHandlers(functions);
|
||||
|
||||
keys.PopulateTickets();
|
||||
keys.SynthesizeTickets();
|
||||
}
|
||||
|
||||
private:
|
||||
|
@ -125,7 +128,6 @@ private:
|
|||
void CountCommonTicket(Kernel::HLERequestContext& ctx) {
|
||||
LOG_DEBUG(Service_ETicket, "called");
|
||||
|
||||
keys.PopulateTickets();
|
||||
const auto count = keys.GetCommonTickets().size();
|
||||
|
||||
IPC::ResponseBuilder rb{ctx, 3};
|
||||
|
@ -136,7 +138,6 @@ private:
|
|||
void CountPersonalizedTicket(Kernel::HLERequestContext& ctx) {
|
||||
LOG_DEBUG(Service_ETicket, "called");
|
||||
|
||||
keys.PopulateTickets();
|
||||
const auto count = keys.GetPersonalizedTickets().size();
|
||||
|
||||
IPC::ResponseBuilder rb{ctx, 3};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue