From f84fb20959376fa6bb215d069799b42414bd8b27 Mon Sep 17 00:00:00 2001 From: VolcaEM <63682805+VolcaEM@users.noreply.github.com> Date: Mon, 4 May 2020 15:10:15 +0200 Subject: [PATCH] Add error code for denied internet request in Friends (#1207) * Add error code for denied internet request in Friends * Fix formatting from previous PR --- Ryujinx.HLE/HOS/Services/Account/ResultCode.cs | 2 +- Ryujinx.HLE/HOS/Services/Friend/ResultCode.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Ryujinx.HLE/HOS/Services/Account/ResultCode.cs b/Ryujinx.HLE/HOS/Services/Account/ResultCode.cs index 5f9f63c32..cf61ed5c6 100644 --- a/Ryujinx.HLE/HOS/Services/Account/ResultCode.cs +++ b/Ryujinx.HLE/HOS/Services/Account/ResultCode.cs @@ -13,7 +13,7 @@ namespace Ryujinx.HLE.HOS.Services.Account InvalidInputBufferSize = (31 << ErrorCodeShift) | ModuleId, InvalidInputBuffer = (32 << ErrorCodeShift) | ModuleId, ApplicationLaunchPropertyAlreadyInit = (41 << ErrorCodeShift) | ModuleId, - InternetRequestDenied = (59 << ErrorCodeShift) | ModuleId, + InternetRequestDenied = (59 << ErrorCodeShift) | ModuleId, UserNotFound = (100 << ErrorCodeShift) | ModuleId, NullObject = (302 << ErrorCodeShift) | ModuleId, UnknownError1 = (341 << ErrorCodeShift) | ModuleId diff --git a/Ryujinx.HLE/HOS/Services/Friend/ResultCode.cs b/Ryujinx.HLE/HOS/Services/Friend/ResultCode.cs index 2edc20cbe..3e66e8733 100644 --- a/Ryujinx.HLE/HOS/Services/Friend/ResultCode.cs +++ b/Ryujinx.HLE/HOS/Services/Friend/ResultCode.cs @@ -8,6 +8,7 @@ Success = 0, InvalidArgument = (2 << ErrorCodeShift) | ModuleId, + InternetRequestDenied = (6 << ErrorCodeShift) | ModuleId, NotificationQueueEmpty = (15 << ErrorCodeShift) | ModuleId } -} \ No newline at end of file +}