Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Return correct amount of values from IFriendService::GetReceivedFriendRequestCount

darktuxeb536ef8a8cb
diff --git a/src/core/hle/service/friend/friend.cpp b/src/core/hle/service/friend/friend.cpp
index 794c54c211..84c73e9d6f 100644
--- a/src/core/hle/service/friend/friend.cpp
+++ b/src/core/hle/service/friend/friend.cpp
@@ -273,9 +273,10 @@ private:
LOG_DEBUG(Service_Friend, "(STUBBED) called");
- IPC::ResponseBuilder rb{ctx, 2};
+ IPC::ResponseBuilder rb{ctx, 4};
rb.Push(ResultSuccess);
rb.Push(0);
+ rb.Push(0);
}
void GetUserPresenceView(HLERequestContext& ctx) {