diff --git a/Ryujinx.HLE/HOS/Services/Friend/FriendErr.cs b/Ryujinx.HLE/HOS/Services/Friend/FriendError.cs similarity index 78% rename from Ryujinx.HLE/HOS/Services/Friend/FriendErr.cs rename to Ryujinx.HLE/HOS/Services/Friend/FriendError.cs index 5ee2a70646..98157f4085 100644 --- a/Ryujinx.HLE/HOS/Services/Friend/FriendErr.cs +++ b/Ryujinx.HLE/HOS/Services/Friend/FriendError.cs @@ -1,6 +1,6 @@ namespace Ryujinx.HLE.HOS.Services.Friend { - static class FriendErr + static class FriendError { public const int InvalidArgument = 2; } diff --git a/Ryujinx.HLE/HOS/Services/Friend/IFriendService.cs b/Ryujinx.HLE/HOS/Services/Friend/IFriendService.cs index e4f860308a..2f95155574 100644 --- a/Ryujinx.HLE/HOS/Services/Friend/IFriendService.cs +++ b/Ryujinx.HLE/HOS/Services/Friend/IFriendService.cs @@ -117,7 +117,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend if (uuid.IsNull) { - return MakeError(ErrorModule.Friends, FriendErr.InvalidArgument); + return MakeError(ErrorModule.Friends, FriendError.InvalidArgument); } // There are no friends online, so we return 0 because the nn::account::NetworkServiceAccountId array is empty. @@ -155,7 +155,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend if (uuid.IsNull) { - return MakeError(ErrorModule.Friends, FriendErr.InvalidArgument); + return MakeError(ErrorModule.Friends, FriendError.InvalidArgument); } // There are no friends online, so we return 0 because the nn::account::NetworkServiceAccountId array is empty. @@ -182,7 +182,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend if (uuid.IsNull) { - return MakeError(ErrorModule.Friends, FriendErr.InvalidArgument); + return MakeError(ErrorModule.Friends, FriendError.InvalidArgument); } if (context.Device.System.State.Account.TryGetUser(uuid, out UserProfile profile)) @@ -202,7 +202,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend if (uuid.IsNull) { - return MakeError(ErrorModule.Friends, FriendErr.InvalidArgument); + return MakeError(ErrorModule.Friends, FriendError.InvalidArgument); } if (context.Device.System.State.Account.TryGetUser(uuid, out UserProfile profile)) @@ -230,7 +230,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend if (uuid.IsNull) { - return MakeError(ErrorModule.Friends, FriendErr.InvalidArgument); + return MakeError(ErrorModule.Friends, FriendError.InvalidArgument); } int elementCount = bufferContent.Length / Marshal.SizeOf(); diff --git a/Ryujinx.HLE/HOS/Services/Friend/IServiceCreator.cs b/Ryujinx.HLE/HOS/Services/Friend/IServiceCreator.cs index 07e44d934e..2e7b6102d6 100644 --- a/Ryujinx.HLE/HOS/Services/Friend/IServiceCreator.cs +++ b/Ryujinx.HLE/HOS/Services/Friend/IServiceCreator.cs @@ -42,7 +42,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend if (userId.IsNull) { - return MakeError(ErrorModule.Friends, FriendErr.InvalidArgument); + return MakeError(ErrorModule.Friends, FriendError.InvalidArgument); } MakeObject(context, new INotificationService(userId, _permissionLevel));