VERY experimental Nintendo Switch 2 emulator
C++
Implemented IFriendService::GetUserPresenceView stub to get QLaunch friends list running
darktuxd82ee773daa7
diff --git a/src/core/hle/service/friend/friend.cpp b/src/core/hle/service/friend/friend.cppindex cf7287a87c..2258223c87 100644--- a/src/core/hle/service/friend/friend.cpp+++ b/src/core/hle/service/friend/friend.cpp@@ -59,7 +59,7 @@ public:{20401, nullptr, "SyncBlockedUserList"},{20500, nullptr, "GetProfileExtraList"},{20501, nullptr, "GetRelationship"},- {20600, nullptr, "GetUserPresenceView"},+ {20600, &IFriendService::GetUserPresenceView, "GetUserPresenceView"},{20700, nullptr, "GetPlayHistoryList"},{20701, &IFriendService::GetPlayHistoryStatistics, "GetPlayHistoryStatistics"},{20800, &IFriendService::LoadUserSetting, "LoadUserSetting"},@@ -245,6 +245,19 @@ private:}void GetReceivedFriendRequestCount(HLERequestContext& ctx) {+ IPC::RequestParser rp{ctx};+ [[maybe_unused]] const auto uuid = rp.PopRaw<Common::UUID>();++ LOG_DEBUG(Service_Friend, "(STUBBED) called");++ u8 buf[0xe0];+ ctx.WriteBuffer(buf);++ IPC::ResponseBuilder rb{ctx, 2};+ rb.Push(ResultSuccess);+ }++ void GetUserPresenceView(HLERequestContext& ctx) {LOG_DEBUG(Service_Friend, "(STUBBED) called");IPC::ResponseBuilder rb{ctx, 3};