mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-10-01 12:30:00 +02:00
settings: Fix returned buffer size of GetFirmwareVersion (#2029)
This commit is contained in:
parent
9d82d27df2
commit
c6d3c4207a
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ namespace Ryujinx.HLE.HOS.Services.Settings
|
||||||
public ResultCode GetFirmwareVersion2(ServiceCtx context)
|
public ResultCode GetFirmwareVersion2(ServiceCtx context)
|
||||||
{
|
{
|
||||||
long replyPos = context.Request.RecvListBuff[0].Position;
|
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);
|
byte[] firmwareData = GetFirmwareData(context.Device);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue