aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/glue/arp.cpp
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2022-12-25 14:30:21 -0500
committerameerj <52414509+ameerj@users.noreply.github.com>2022-12-28 18:46:54 -0500
commit59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f (patch)
tree6bdae0197c525d6706ce83941aaf74f295a33922 /src/core/hle/service/glue/arp.cpp
parent7c1bf68bb411b5f20fc0fd93306127032340ef60 (diff)
hle_ipc: Rename ReadBuffer to ReadBufferCopy
Indicates explicitly that a copy is occurring
Diffstat (limited to 'src/core/hle/service/glue/arp.cpp')
-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);