summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/glue/arp.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-02-04 00:42:18 +0100
committerGitHub <noreply@github.com>2023-02-04 00:42:18 +0100
commit193b513bf544c5dab80d1a849ce62e59e872cd3a (patch)
tree665e83a9b6a747f25b30de50350abec1f68d110f /src/core/hle/service/glue/arp.cpp
parentMerge pull request #9713 from unfamiliarplace/master (diff)
parentfsp_srv: Copy HLE Read Buffer for OutputAccessLogToSdCard (diff)
downloadyuzu-193b513bf544c5dab80d1a849ce62e59e872cd3a.tar
yuzu-193b513bf544c5dab80d1a849ce62e59e872cd3a.tar.gz
yuzu-193b513bf544c5dab80d1a849ce62e59e872cd3a.tar.bz2
yuzu-193b513bf544c5dab80d1a849ce62e59e872cd3a.tar.lz
yuzu-193b513bf544c5dab80d1a849ce62e59e872cd3a.tar.xz
yuzu-193b513bf544c5dab80d1a849ce62e59e872cd3a.tar.zst
yuzu-193b513bf544c5dab80d1a849ce62e59e872cd3a.zip
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);