diff options
| author | bunnei <bunneidev@gmail.com> | 2018-08-12 00:25:57 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-12 00:25:57 -0400 | 
| commit | a70ad9b5bb79f4dcc3865e6d2da307b2da147547 (patch) | |
| tree | c18cae2d71f418d29292ccabd526f29d0cae6b44 /src/core/hle | |
| parent | 3f81c38c6db050fda07208adb4e76538f08beb8c (diff) | |
| parent | ecfbe7d9c8e8a6c7d670dc5c3c370704f753f81d (diff) | |
Merge pull request #1026 from ogniK5377/retro-city-rampage
Stub UpdateUserPresence
Diffstat (limited to 'src/core/hle')
| -rw-r--r-- | src/core/hle/service/friend/friend.cpp | 9 | 
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:              {10600, nullptr, "DeclareOpenOnlinePlaySession"},              {10601, &IFriendService::DeclareCloseOnlinePlaySession,               "DeclareCloseOnlinePlaySession"}, -            {10610, nullptr, "UpdateUserPresence"}, +            {10610, &IFriendService::UpdateUserPresence, "UpdateUserPresence"},              {10700, nullptr, "GetPlayHistoryRegistrationKey"},              {10701, nullptr, "GetPlayHistoryRegistrationKeyWithNetworkServiceAccountId"},              {10702, nullptr, "AddPlayHistory"}, @@ -99,6 +99,13 @@ private:          IPC::ResponseBuilder rb{ctx, 2};          rb.Push(RESULT_SUCCESS);      } + +    void UpdateUserPresence(Kernel::HLERequestContext& ctx) { +        // Stub used by Retro City Rampage +        LOG_WARNING(Service_ACC, "(STUBBED) called"); +        IPC::ResponseBuilder rb{ctx, 2}; +        rb.Push(RESULT_SUCCESS); +    }  };  void Module::Interface::CreateFriendService(Kernel::HLERequestContext& ctx) { | 
