diff options
| author | 2022-12-25 14:30:21 -0500 | |
|---|---|---|
| committer | 2022-12-28 18:46:54 -0500 | |
| commit | 59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f (patch) | |
| tree | 6bdae0197c525d6706ce83941aaf74f295a33922 /src/core/hle/service/glue | |
| parent | bsd: Use std::span for read payloads (diff) | |
| download | yuzu-59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f.tar.gz yuzu-59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f.tar.xz yuzu-59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f.zip | |
hle_ipc: Rename ReadBuffer to ReadBufferCopy
Indicates explicitly that a copy is occurring
Diffstat (limited to 'src/core/hle/service/glue')
| -rw-r--r-- | src/core/hle/service/glue/arp.cpp | 3 |
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: | |||
| 228 | return; | 228 | return; |
| 229 | } | 229 | } |
| 230 | 230 | ||
| 231 | control = ctx.ReadBuffer(); | 231 | // TODO: Can this be a span? |
| 232 | control = ctx.ReadBufferCopy(); | ||
| 232 | 233 | ||
| 233 | IPC::ResponseBuilder rb{ctx, 2}; | 234 | IPC::ResponseBuilder rb{ctx, 2}; |
| 234 | rb.Push(ResultSuccess); | 235 | rb.Push(ResultSuccess); |