fsp_srv: Copy HLE Read Buffer for OutputAccessLogToSdCard

This commit is contained in:
ameerj committed 2023-02-03 00:12:16 -05:00
1 parent 7cc5da4a9f
commit 0b2e3ecc19
1 file changed
+1 -1
+1 -1
View File
@@ -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());