summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/es
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-04-17 17:29:21 +0200
committerZach Hilman <zachhilman@gmail.com>2019-07-08 03:38:33 +0200
commitd9ef20e5a53166fe3ecdca5ed225232eb7ad2f64 (patch)
tree25854c9201231a9b94cd884ea288f0ed84a6f790 /src/core/hle/service/es
parentkey_manager: Add structure for Ticket parsing (diff)
downloadyuzu-d9ef20e5a53166fe3ecdca5ed225232eb7ad2f64.tar
yuzu-d9ef20e5a53166fe3ecdca5ed225232eb7ad2f64.tar.gz
yuzu-d9ef20e5a53166fe3ecdca5ed225232eb7ad2f64.tar.bz2
yuzu-d9ef20e5a53166fe3ecdca5ed225232eb7ad2f64.tar.lz
yuzu-d9ef20e5a53166fe3ecdca5ed225232eb7ad2f64.tar.xz
yuzu-d9ef20e5a53166fe3ecdca5ed225232eb7ad2f64.tar.zst
yuzu-d9ef20e5a53166fe3ecdca5ed225232eb7ad2f64.zip
Diffstat (limited to 'src/core/hle/service/es')
-rw-r--r--src/core/hle/service/es/es.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/es/es.cpp b/src/core/hle/service/es/es.cpp
index 7e01f88b9..92fa2bef8 100644
--- a/src/core/hle/service/es/es.cpp
+++ b/src/core/hle/service/es/es.cpp
@@ -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};