mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-17 11:27:57 +00:00
service: Use ReadBufferSpan where it is trivial to do so
This commit is contained in:
parent
399b6d3a0c
commit
db9a523aae
31 changed files with 78 additions and 77 deletions
|
@ -121,8 +121,8 @@ private:
|
|||
}
|
||||
|
||||
void ImportTicket(Kernel::HLERequestContext& ctx) {
|
||||
const auto ticket = ctx.ReadBuffer();
|
||||
const auto cert = ctx.ReadBuffer(1);
|
||||
const auto ticket = ctx.ReadBufferSpan();
|
||||
[[maybe_unused]] const auto cert = ctx.ReadBufferSpan(1);
|
||||
|
||||
if (ticket.size() < sizeof(Core::Crypto::Ticket)) {
|
||||
LOG_ERROR(Service_ETicket, "The input buffer is not large enough!");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue