summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/es
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/es')
-rw-r--r--src/core/hle/service/es/es.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/es/es.cpp b/src/core/hle/service/es/es.cpp
index 5ea61c430..fb8686859 100644
--- a/src/core/hle/service/es/es.cpp
+++ b/src/core/hle/service/es/es.cpp
@@ -121,8 +121,8 @@ private:
}
void ImportTicket(Kernel::HLERequestContext& ctx) {
- const auto ticket = ctx.ReadBufferSpan();
- [[maybe_unused]] const auto cert = ctx.ReadBufferSpan(1);
+ const auto ticket = ctx.ReadBuffer();
+ [[maybe_unused]] const auto cert = ctx.ReadBuffer(1);
if (ticket.size() < sizeof(Core::Crypto::Ticket)) {
LOG_ERROR(Service_ETicket, "The input buffer is not large enough!");