diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-12-25 19:57:16 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-12-25 23:19:10 +0100 |
commit | 32d01a39b010e3aabca8551767909fd388febf99 (patch) | |
tree | e68530aae534683b65f1de74f9ef58f1f1cebfb0 /src/core/hle/service/nvflinger/buffer_queue_producer.cpp | |
parent | service: Use ReadBufferSpan where it is trivial to do so (diff) | |
download | yuzu-32d01a39b010e3aabca8551767909fd388febf99.tar yuzu-32d01a39b010e3aabca8551767909fd388febf99.tar.gz yuzu-32d01a39b010e3aabca8551767909fd388febf99.tar.bz2 yuzu-32d01a39b010e3aabca8551767909fd388febf99.tar.lz yuzu-32d01a39b010e3aabca8551767909fd388febf99.tar.xz yuzu-32d01a39b010e3aabca8551767909fd388febf99.tar.zst yuzu-32d01a39b010e3aabca8551767909fd388febf99.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nvflinger/buffer_queue_producer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/nvflinger/buffer_queue_producer.cpp b/src/core/hle/service/nvflinger/buffer_queue_producer.cpp index e601b5da1..abed92d06 100644 --- a/src/core/hle/service/nvflinger/buffer_queue_producer.cpp +++ b/src/core/hle/service/nvflinger/buffer_queue_producer.cpp @@ -815,8 +815,8 @@ Status BufferQueueProducer::SetPreallocatedBuffer(s32 slot, void BufferQueueProducer::Transact(Kernel::HLERequestContext& ctx, TransactionId code, u32 flags) { Status status{Status::NoError}; - Parcel parcel_in{ctx.ReadBuffer()}; - Parcel parcel_out{}; + InputParcel parcel_in{ctx.ReadBufferSpan()}; + OutputParcel parcel_out{}; switch (code) { case TransactionId::Connect: { |