diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2023-02-03 00:10:10 -0500 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2023-02-03 00:12:16 -0500 |
commit | 979e4d9950bc7241460524a06e09e87147904d1a (patch) | |
tree | 665e83a9b6a747f25b30de50350abec1f68d110f /src | |
parent | 2d2522693e7d453bf10a8246f704350b69e12ebc (diff) |
fsp_srv: Copy HLE Read Buffer for OutputAccessLogToSdCard
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/service/filesystem/fsp_srv.cpp | 2 |
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) { } void FSP_SRV::OutputAccessLogToSdCard(Kernel::HLERequestContext& ctx) { - const auto raw = ctx.ReadBuffer(); + const auto raw = ctx.ReadBufferCopy(); auto log = Common::StringFromFixedZeroTerminatedBuffer( reinterpret_cast<const char*>(raw.data()), raw.size()); |