summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar David Marcec2018-08-12 14:00:44 +1000
committerGravatar David Marcec2018-08-12 14:00:44 +1000
commitecfbe7d9c8e8a6c7d670dc5c3c370704f753f81d (patch)
tree276f472260a7155cdd9ea9fd3d226584ae55459d /src
parentMerge pull request #1022 from bunnei/fix-splat (diff)
downloadyuzu-ecfbe7d9c8e8a6c7d670dc5c3c370704f753f81d.tar.gz
yuzu-ecfbe7d9c8e8a6c7d670dc5c3c370704f753f81d.tar.xz
yuzu-ecfbe7d9c8e8a6c7d670dc5c3c370704f753f81d.zip
Stub UpdateUserPresence
Needed for Retro City Rampage to go in game
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/friend/friend.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/hle/service/friend/friend.cpp b/src/core/hle/service/friend/friend.cpp
index 2b642c32f..f2b0e509a 100644
--- a/src/core/hle/service/friend/friend.cpp
+++ b/src/core/hle/service/friend/friend.cpp
@@ -26,7 +26,7 @@ public:
26 {10600, nullptr, "DeclareOpenOnlinePlaySession"}, 26 {10600, nullptr, "DeclareOpenOnlinePlaySession"},
27 {10601, &IFriendService::DeclareCloseOnlinePlaySession, 27 {10601, &IFriendService::DeclareCloseOnlinePlaySession,
28 "DeclareCloseOnlinePlaySession"}, 28 "DeclareCloseOnlinePlaySession"},
29 {10610, nullptr, "UpdateUserPresence"}, 29 {10610, &IFriendService::UpdateUserPresence, "UpdateUserPresence"},
30 {10700, nullptr, "GetPlayHistoryRegistrationKey"}, 30 {10700, nullptr, "GetPlayHistoryRegistrationKey"},
31 {10701, nullptr, "GetPlayHistoryRegistrationKeyWithNetworkServiceAccountId"}, 31 {10701, nullptr, "GetPlayHistoryRegistrationKeyWithNetworkServiceAccountId"},
32 {10702, nullptr, "AddPlayHistory"}, 32 {10702, nullptr, "AddPlayHistory"},
@@ -99,6 +99,13 @@ private:
99 IPC::ResponseBuilder rb{ctx, 2}; 99 IPC::ResponseBuilder rb{ctx, 2};
100 rb.Push(RESULT_SUCCESS); 100 rb.Push(RESULT_SUCCESS);
101 } 101 }
102
103 void UpdateUserPresence(Kernel::HLERequestContext& ctx) {
104 // Stub used by Retro City Rampage
105 LOG_WARNING(Service_ACC, "(STUBBED) called");
106 IPC::ResponseBuilder rb{ctx, 2};
107 rb.Push(RESULT_SUCCESS);
108 }
102}; 109};
103 110
104void Module::Interface::CreateFriendService(Kernel::HLERequestContext& ctx) { 111void Module::Interface::CreateFriendService(Kernel::HLERequestContext& ctx) {