summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2022-12-25 20:30:21 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2022-12-29 00:46:54 +0100
commit59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f (patch)
tree6bdae0197c525d6706ce83941aaf74f295a33922 /src/core/hle/service
parentbsd: Use std::span for read payloads (diff)
downloadyuzu-59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f.tar
yuzu-59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f.tar.gz
yuzu-59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f.tar.bz2
yuzu-59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f.tar.lz
yuzu-59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f.tar.xz
yuzu-59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f.tar.zst
yuzu-59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/glue/arp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/glue/arp.cpp b/src/core/hle/service/glue/arp.cpp
index 49b6d45fe..ce21b69e3 100644
--- a/src/core/hle/service/glue/arp.cpp
+++ b/src/core/hle/service/glue/arp.cpp
@@ -228,7 +228,8 @@ private:
return;
}
- control = ctx.ReadBuffer();
+ // TODO: Can this be a span?
+ control = ctx.ReadBufferCopy();
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ResultSuccess);