summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-05-26 19:01:42 +0200
committerZach Hilman <zachhilman@gmail.com>2019-07-08 03:38:33 +0200
commit50d541407507edc2f29ad6a46f3f17724e52f7f7 (patch)
tree2a63feb14069c769a85a512a42d1447c05634027 /src/core/hle
parentes: Populate/synthesize tickets on construction (diff)
downloadyuzu-50d541407507edc2f29ad6a46f3f17724e52f7f7.tar
yuzu-50d541407507edc2f29ad6a46f3f17724e52f7f7.tar.gz
yuzu-50d541407507edc2f29ad6a46f3f17724e52f7f7.tar.bz2
yuzu-50d541407507edc2f29ad6a46f3f17724e52f7f7.tar.lz
yuzu-50d541407507edc2f29ad6a46f3f17724e52f7f7.tar.xz
yuzu-50d541407507edc2f29ad6a46f3f17724e52f7f7.tar.zst
yuzu-50d541407507edc2f29ad6a46f3f17724e52f7f7.zip
Diffstat (limited to 'src/core/hle')
-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 92fa2bef8..af70d174d 100644
--- a/src/core/hle/service/es/es.cpp
+++ b/src/core/hle/service/es/es.cpp
@@ -234,7 +234,7 @@ private:
const auto ticket = keys.GetCommonTickets().at(rights_id);
- const auto write_size = std::min(ticket.GetSize(), ctx.GetWriteBufferSize());
+ const auto write_size = std::min<u64>(ticket.GetSize(), ctx.GetWriteBufferSize());
ctx.WriteBuffer(&ticket, write_size);
IPC::ResponseBuilder rb{ctx, 4};
@@ -253,7 +253,7 @@ private:
const auto ticket = keys.GetPersonalizedTickets().at(rights_id);
- const auto write_size = std::min(ticket.GetSize(), ctx.GetWriteBufferSize());
+ const auto write_size = std::min<u64>(ticket.GetSize(), ctx.GetWriteBufferSize());
ctx.WriteBuffer(&ticket, write_size);
IPC::ResponseBuilder rb{ctx, 4};