From 11ecff2ff04633d261b9a43db792f6438df63f40 Mon Sep 17 00:00:00 2001 From: Alex Barney Date: Fri, 14 Apr 2023 16:00:34 -0700 Subject: Rename Hipc to Cmif where appropriate (#3880) --- .../Friend/ServiceCreator/IFriendService.cs | 26 +++++++++++----------- .../Friend/ServiceCreator/INotificationService.cs | 6 ++--- 2 files changed, 16 insertions(+), 16 deletions(-) (limited to 'Ryujinx.HLE/HOS/Services/Friend/ServiceCreator') diff --git a/Ryujinx.HLE/HOS/Services/Friend/ServiceCreator/IFriendService.cs b/Ryujinx.HLE/HOS/Services/Friend/ServiceCreator/IFriendService.cs index 4317c8f6..2858aa46 100644 --- a/Ryujinx.HLE/HOS/Services/Friend/ServiceCreator/IFriendService.cs +++ b/Ryujinx.HLE/HOS/Services/Friend/ServiceCreator/IFriendService.cs @@ -23,7 +23,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend.ServiceCreator _permissionLevel = permissionLevel; } - [CommandHipc(0)] + [CommandCmif(0)] // GetCompletionEvent() -> handle public ResultCode GetCompletionEvent(ServiceCtx context) { @@ -42,7 +42,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend.ServiceCreator return ResultCode.Success; } - [CommandHipc(1)] + [CommandCmif(1)] // nn::friends::Cancel() public ResultCode Cancel(ServiceCtx context) { @@ -52,7 +52,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend.ServiceCreator return ResultCode.Success; } - [CommandHipc(10100)] + [CommandCmif(10100)] // nn::friends::GetFriendListIds(int offset, nn::account::Uid userId, nn::friends::detail::ipc::SizedFriendFilter friendFilter, ulong pidPlaceHolder, pid) // -> int outCount, array public ResultCode GetFriendListIds(ServiceCtx context) @@ -91,7 +91,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend.ServiceCreator return ResultCode.Success; } - [CommandHipc(10101)] + [CommandCmif(10101)] // nn::friends::GetFriendList(int offset, nn::account::Uid userId, nn::friends::detail::ipc::SizedFriendFilter friendFilter, ulong pidPlaceHolder, pid) // -> int outCount, array public ResultCode GetFriendList(ServiceCtx context) @@ -129,7 +129,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend.ServiceCreator return ResultCode.Success; } - [CommandHipc(10120)] // 10.0.0+ + [CommandCmif(10120)] // 10.0.0+ // nn::friends::IsFriendListCacheAvailable(nn::account::Uid userId) -> bool public ResultCode IsFriendListCacheAvailable(ServiceCtx context) { @@ -150,7 +150,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend.ServiceCreator return ResultCode.Success; } - [CommandHipc(10121)] // 10.0.0+ + [CommandCmif(10121)] // 10.0.0+ // nn::friends::EnsureFriendListAvailable(nn::account::Uid userId) public ResultCode EnsureFriendListAvailable(ServiceCtx context) { @@ -168,7 +168,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend.ServiceCreator return ResultCode.Success; } - [CommandHipc(10400)] + [CommandCmif(10400)] // nn::friends::GetBlockedUserListIds(int offset, nn::account::Uid userId) -> (u32, buffer) public ResultCode GetBlockedUserListIds(ServiceCtx context) { @@ -187,7 +187,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend.ServiceCreator return ResultCode.Success; } - [CommandHipc(10600)] + [CommandCmif(10600)] // nn::friends::DeclareOpenOnlinePlaySession(nn::account::Uid userId) public ResultCode DeclareOpenOnlinePlaySession(ServiceCtx context) { @@ -205,7 +205,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend.ServiceCreator return ResultCode.Success; } - [CommandHipc(10601)] + [CommandCmif(10601)] // nn::friends::DeclareCloseOnlinePlaySession(nn::account::Uid userId) public ResultCode DeclareCloseOnlinePlaySession(ServiceCtx context) { @@ -223,7 +223,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend.ServiceCreator return ResultCode.Success; } - [CommandHipc(10610)] + [CommandCmif(10610)] // nn::friends::UpdateUserPresence(nn::account::Uid, u64, pid, buffer) public ResultCode UpdateUserPresence(ServiceCtx context) { @@ -247,7 +247,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend.ServiceCreator return ResultCode.Success; } - [CommandHipc(10700)] + [CommandCmif(10700)] // nn::friends::GetPlayHistoryRegistrationKey(b8 unknown, nn::account::Uid) -> buffer public ResultCode GetPlayHistoryRegistrationKey(ServiceCtx context) { @@ -309,7 +309,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend.ServiceCreator return ResultCode.Success; } - [CommandHipc(10702)] + [CommandCmif(10702)] // nn::friends::AddPlayHistory(nn::account::Uid, u64, pid, buffer, buffer, buffer) public ResultCode AddPlayHistory(ServiceCtx context) { @@ -349,4 +349,4 @@ namespace Ryujinx.HLE.HOS.Services.Friend.ServiceCreator return ResultCode.Success; } } -} +} \ No newline at end of file diff --git a/Ryujinx.HLE/HOS/Services/Friend/ServiceCreator/INotificationService.cs b/Ryujinx.HLE/HOS/Services/Friend/ServiceCreator/INotificationService.cs index 65cbd38e..063750c6 100644 --- a/Ryujinx.HLE/HOS/Services/Friend/ServiceCreator/INotificationService.cs +++ b/Ryujinx.HLE/HOS/Services/Friend/ServiceCreator/INotificationService.cs @@ -37,7 +37,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend.ServiceCreator NotificationEventHandler.Instance.RegisterNotificationService(this); } - [CommandHipc(0)] //2.0.0+ + [CommandCmif(0)] //2.0.0+ // nn::friends::detail::ipc::INotificationService::GetEvent() -> handle public ResultCode GetEvent(ServiceCtx context) { @@ -54,7 +54,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend.ServiceCreator return ResultCode.Success; } - [CommandHipc(1)] //2.0.0+ + [CommandCmif(1)] //2.0.0+ // nn::friends::detail::ipc::INotificationService::Clear() public ResultCode Clear(ServiceCtx context) { @@ -69,7 +69,7 @@ namespace Ryujinx.HLE.HOS.Services.Friend.ServiceCreator return ResultCode.Success; } - [CommandHipc(2)] // 2.0.0+ + [CommandCmif(2)] // 2.0.0+ // nn::friends::detail::ipc::INotificationService::Pop() -> nn::friends::detail::ipc::SizedNotificationInfo public ResultCode Pop(ServiceCtx context) { -- cgit v1.2.3