summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/friend/friend.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/core/hle/service/friend/friend.cpp b/src/core/hle/service/friend/friend.cpp
index 6aadb3ea8..7938b4b80 100644
--- a/src/core/hle/service/friend/friend.cpp
+++ b/src/core/hle/service/friend/friend.cpp
@@ -27,7 +27,7 @@ public:
27 {10110, nullptr, "GetFriendProfileImage"}, 27 {10110, nullptr, "GetFriendProfileImage"},
28 {10200, nullptr, "SendFriendRequestForApplication"}, 28 {10200, nullptr, "SendFriendRequestForApplication"},
29 {10211, nullptr, "AddFacedFriendRequestForApplication"}, 29 {10211, nullptr, "AddFacedFriendRequestForApplication"},
30 {10400, nullptr, "GetBlockedUserListIds"}, 30 {10400, &IFriendService::GetBlockedUserListIds, "GetBlockedUserListIds"},
31 {10500, nullptr, "GetProfileList"}, 31 {10500, nullptr, "GetProfileList"},
32 {10600, nullptr, "DeclareOpenOnlinePlaySession"}, 32 {10600, nullptr, "DeclareOpenOnlinePlaySession"},
33 {10601, &IFriendService::DeclareCloseOnlinePlaySession, "DeclareCloseOnlinePlaySession"}, 33 {10601, &IFriendService::DeclareCloseOnlinePlaySession, "DeclareCloseOnlinePlaySession"},
@@ -121,6 +121,15 @@ private:
121 }; 121 };
122 static_assert(sizeof(SizedFriendFilter) == 0x10, "SizedFriendFilter is an invalid size"); 122 static_assert(sizeof(SizedFriendFilter) == 0x10, "SizedFriendFilter is an invalid size");
123 123
124 void GetBlockedUserListIds(Kernel::HLERequestContext& ctx) {
125 // This is safe to stub, as there should be no adverse consequences from reporting no
126 // blocked users.
127 LOG_WARNING(Service_ACC, "(STUBBED) called");
128 IPC::ResponseBuilder rb{ctx, 3};
129 rb.Push(RESULT_SUCCESS);
130 rb.Push<u32>(0); // Indicates there are no blocked users
131 }
132
124 void DeclareCloseOnlinePlaySession(Kernel::HLERequestContext& ctx) { 133 void DeclareCloseOnlinePlaySession(Kernel::HLERequestContext& ctx) {
125 // Stub used by Splatoon 2 134 // Stub used by Splatoon 2
126 LOG_WARNING(Service_ACC, "(STUBBED) called"); 135 LOG_WARNING(Service_ACC, "(STUBBED) called");