From 59f48e3710d1e62abb6ba1157705f63e5fffa2c3 Mon Sep 17 00:00:00 2001 From: LDj3SNuD <35856442+LDj3SNuD@users.noreply.github.com> Date: Mon, 28 Oct 2019 01:50:50 +0100 Subject: [PATCH] Fix ghost users bug. (#799) * Fix ghost users bug. * Update IAccountServiceForApplication.cs --- .../HOS/Services/Account/Acc/IAccountServiceForApplication.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForApplication.cs b/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForApplication.cs index 842395399..f8e6b22a5 100644 --- a/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForApplication.cs +++ b/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForApplication.cs @@ -1,3 +1,4 @@ +using ARMeilleure.Memory; using Ryujinx.Common.Logging; using Ryujinx.HLE.HOS.Services.Arp; using Ryujinx.HLE.Utilities; @@ -63,6 +64,8 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc long outputPosition = context.Request.RecvListBuff[0].Position; long outputSize = context.Request.RecvListBuff[0].Size; + MemoryHelper.FillWithZeros(context.Memory, outputPosition, (int)outputSize); + ulong offset = 0; foreach (UserProfile userProfile in profiles)