Add error code for denied internet request in Friends (#1207)

* Add error code for denied internet request in Friends

* Fix formatting from previous PR
This commit is contained in:
VolcaEM 2020-05-04 15:10:15 +02:00 committed by GitHub
parent 232d53a1ff
commit f84fb20959
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -13,7 +13,7 @@ namespace Ryujinx.HLE.HOS.Services.Account
InvalidInputBufferSize = (31 << ErrorCodeShift) | ModuleId, InvalidInputBufferSize = (31 << ErrorCodeShift) | ModuleId,
InvalidInputBuffer = (32 << ErrorCodeShift) | ModuleId, InvalidInputBuffer = (32 << ErrorCodeShift) | ModuleId,
ApplicationLaunchPropertyAlreadyInit = (41 << ErrorCodeShift) | ModuleId, ApplicationLaunchPropertyAlreadyInit = (41 << ErrorCodeShift) | ModuleId,
InternetRequestDenied = (59 << ErrorCodeShift) | ModuleId, InternetRequestDenied = (59 << ErrorCodeShift) | ModuleId,
UserNotFound = (100 << ErrorCodeShift) | ModuleId, UserNotFound = (100 << ErrorCodeShift) | ModuleId,
NullObject = (302 << ErrorCodeShift) | ModuleId, NullObject = (302 << ErrorCodeShift) | ModuleId,
UnknownError1 = (341 << ErrorCodeShift) | ModuleId UnknownError1 = (341 << ErrorCodeShift) | ModuleId

View file

@ -8,6 +8,7 @@
Success = 0, Success = 0,
InvalidArgument = (2 << ErrorCodeShift) | ModuleId, InvalidArgument = (2 << ErrorCodeShift) | ModuleId,
InternetRequestDenied = (6 << ErrorCodeShift) | ModuleId,
NotificationQueueEmpty = (15 << ErrorCodeShift) | ModuleId NotificationQueueEmpty = (15 << ErrorCodeShift) | ModuleId
} }
} }