Browse Source

fsp_srv: Copy HLE Read Buffer for OutputAccessLogToSdCard

nce_cpp
ameerj 3 years ago
parent
commit
0b2e3ecc19
  1. 2
      src/core/hle/service/filesystem/fsp_srv.cpp

2
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());

Loading…
Cancel
Save