Rewrite size for fixed size buffers (#1808)

This commit is contained in:
gdkchan 2020-12-12 00:06:20 -03:00 committed by GitHub
parent 06057a99a6
commit 74aa7b20be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 26 additions and 21 deletions

View file

@ -221,6 +221,8 @@ namespace Ryujinx.HLE.HOS.Services.Friend.ServiceCreator
bool unknownBool = context.RequestData.ReadBoolean();
UserId userId = context.RequestData.ReadStruct<UserId>();
context.Response.PtrBuff[0] = context.Response.PtrBuff[0].WithSize(0x40L);
long bufferPosition = context.Request.RecvListBuff[0].Position;
if (userId.IsNull)