diff options
| author | Ac_K <Acoustik666@gmail.com> | 2021-02-17 21:10:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-17 21:10:53 +0100 |
| commit | c6d3c4207aa94c3ccc0e28d0d8361f579d9f6b0e (patch) | |
| tree | e21b40d05c271c1a9525bd9bf546a5733d848ed6 | |
| parent | 9d82d27df2d28c96f854b050c65e58eb1a48a22d (diff) | |
settings: Fix returned buffer size of GetFirmwareVersion (#2029)
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Settings/ISystemSettingsServer.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Settings/ISystemSettingsServer.cs b/Ryujinx.HLE/HOS/Services/Settings/ISystemSettingsServer.cs index d19a5345..1e1054bd 100644 --- a/Ryujinx.HLE/HOS/Services/Settings/ISystemSettingsServer.cs +++ b/Ryujinx.HLE/HOS/Services/Settings/ISystemSettingsServer.cs @@ -30,7 +30,8 @@ namespace Ryujinx.HLE.HOS.Services.Settings public ResultCode GetFirmwareVersion2(ServiceCtx context) { long replyPos = context.Request.RecvListBuff[0].Position; - long replySize = context.Request.RecvListBuff[0].Size; + + context.Response.PtrBuff[0] = context.Response.PtrBuff[0].WithSize(0x100L); byte[] firmwareData = GetFirmwareData(context.Device); |
