diff options
| author | 2023-02-02 15:53:28 -0500 | |
|---|---|---|
| committer | 2023-02-02 15:53:28 -0500 | |
| commit | b01698775b468a04e4d0a9bdd86035ff00e6decb (patch) | |
| tree | 88f1784fe7833392caeaf713a7a616772f446b18 /src/core/hle/service/es | |
| parent | Merge pull request #9708 from ameerj/gl-context-flush (diff) | |
| download | yuzu-b01698775b468a04e4d0a9bdd86035ff00e6decb.tar.gz yuzu-b01698775b468a04e4d0a9bdd86035ff00e6decb.tar.xz yuzu-b01698775b468a04e4d0a9bdd86035ff00e6decb.zip | |
Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer"
Diffstat (limited to 'src/core/hle/service/es')
| -rw-r--r-- | src/core/hle/service/es/es.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/es/es.cpp b/src/core/hle/service/es/es.cpp index fb8686859..d183e5829 100644 --- a/src/core/hle/service/es/es.cpp +++ b/src/core/hle/service/es/es.cpp | |||
| @@ -122,7 +122,7 @@ private: | |||
| 122 | 122 | ||
| 123 | void ImportTicket(Kernel::HLERequestContext& ctx) { | 123 | void ImportTicket(Kernel::HLERequestContext& ctx) { |
| 124 | const auto ticket = ctx.ReadBuffer(); | 124 | const auto ticket = ctx.ReadBuffer(); |
| 125 | [[maybe_unused]] const auto cert = ctx.ReadBuffer(1); | 125 | const auto cert = ctx.ReadBuffer(1); |
| 126 | 126 | ||
| 127 | if (ticket.size() < sizeof(Core::Crypto::Ticket)) { | 127 | if (ticket.size() < sizeof(Core::Crypto::Ticket)) { |
| 128 | LOG_ERROR(Service_ETicket, "The input buffer is not large enough!"); | 128 | LOG_ERROR(Service_ETicket, "The input buffer is not large enough!"); |