This commit is contained in:
LDj3SNuD 2019-10-28 01:35:57 +01:00 committed by GitHub
parent 315aac0b9e
commit 56a23a8543
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc
foreach (UserProfile userProfile in profiles)
{
if (offset + 0x10UL > (ulong)outputSize)
if (offset + 0x10 > (ulong)outputSize)
{
break;
}
@ -78,7 +78,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc
context.Memory.WriteInt64(outputPosition + (long)offset, userProfile.UserId.Low);
context.Memory.WriteInt64(outputPosition + (long)offset + 8L, userProfile.UserId.High);
offset += 0x10UL;
offset += 0x10;
}
return ResultCode.Success;