summaryrefslogtreecommitdiff
path: root/src/core/hle/service/filesystem
diff options
context:
space:
mode:
authorGravatar ameerj2023-02-03 00:10:10 -0500
committerGravatar ameerj2023-02-03 00:12:16 -0500
commit979e4d9950bc7241460524a06e09e87147904d1a (patch)
tree665e83a9b6a747f25b30de50350abec1f68d110f /src/core/hle/service/filesystem
parentRevert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span" (diff)
downloadyuzu-979e4d9950bc7241460524a06e09e87147904d1a.tar.gz
yuzu-979e4d9950bc7241460524a06e09e87147904d1a.tar.xz
yuzu-979e4d9950bc7241460524a06e09e87147904d1a.zip
fsp_srv: Copy HLE Read Buffer for OutputAccessLogToSdCard
Diffstat (limited to 'src/core/hle/service/filesystem')
-rw-r--r--src/core/hle/service/filesystem/fsp_srv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp
index cab44bf9c..447d624e1 100644
--- a/src/core/hle/service/filesystem/fsp_srv.cpp
+++ b/src/core/hle/service/filesystem/fsp_srv.cpp
@@ -1083,7 +1083,7 @@ void FSP_SRV::GetGlobalAccessLogMode(Kernel::HLERequestContext& ctx) {
1083} 1083}
1084 1084
1085void FSP_SRV::OutputAccessLogToSdCard(Kernel::HLERequestContext& ctx) { 1085void FSP_SRV::OutputAccessLogToSdCard(Kernel::HLERequestContext& ctx) {
1086 const auto raw = ctx.ReadBuffer(); 1086 const auto raw = ctx.ReadBufferCopy();
1087 auto log = Common::StringFromFixedZeroTerminatedBuffer( 1087 auto log = Common::StringFromFixedZeroTerminatedBuffer(
1088 reinterpret_cast<const char*>(raw.data()), raw.size()); 1088 reinterpret_cast<const char*>(raw.data()), raw.size());
1089 1089