diff options
| author | 2021-01-31 14:18:40 +0800 | |
|---|---|---|
| committer | 2021-01-31 14:18:40 +0800 | |
| commit | 94f660d1cb628f0c360e3a7f5adeb2d04e7beb7c (patch) | |
| tree | d9a6606bb7bc8aba6289d6f2fc19945f99c3dac9 /src | |
| parent | Merge pull request #5852 from ameerj/event-fd-stub (diff) | |
| parent | am: Stub TryPopFromFriendInvitationStorageChannel (diff) | |
| download | yuzu-94f660d1cb628f0c360e3a7f5adeb2d04e7beb7c.tar.gz yuzu-94f660d1cb628f0c360e3a7f5adeb2d04e7beb7c.tar.xz yuzu-94f660d1cb628f0c360e3a7f5adeb2d04e7beb7c.zip | |
Merge pull request #5851 from ameerj/pop-inv-stub
am: Stub TryPopFromFriendInvitationStorageChannel
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/am/am.cpp | 10 | ||||
| -rw-r--r-- | src/core/hle/service/am/am.h | 1 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index 41bd1497c..52b034fae 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp | |||
| @@ -1213,7 +1213,7 @@ IApplicationFunctions::IApplicationFunctions(Core::System& system_) | |||
| 1213 | {124, nullptr, "EnableApplicationAllThreadDumpOnCrash"}, | 1213 | {124, nullptr, "EnableApplicationAllThreadDumpOnCrash"}, |
| 1214 | {130, &IApplicationFunctions::GetGpuErrorDetectedSystemEvent, "GetGpuErrorDetectedSystemEvent"}, | 1214 | {130, &IApplicationFunctions::GetGpuErrorDetectedSystemEvent, "GetGpuErrorDetectedSystemEvent"}, |
| 1215 | {140, &IApplicationFunctions::GetFriendInvitationStorageChannelEvent, "GetFriendInvitationStorageChannelEvent"}, | 1215 | {140, &IApplicationFunctions::GetFriendInvitationStorageChannelEvent, "GetFriendInvitationStorageChannelEvent"}, |
| 1216 | {141, nullptr, "TryPopFromFriendInvitationStorageChannel"}, | 1216 | {141, &IApplicationFunctions::TryPopFromFriendInvitationStorageChannel, "TryPopFromFriendInvitationStorageChannel"}, |
| 1217 | {150, nullptr, "GetNotificationStorageChannelEvent"}, | 1217 | {150, nullptr, "GetNotificationStorageChannelEvent"}, |
| 1218 | {151, nullptr, "TryPopFromNotificationStorageChannel"}, | 1218 | {151, nullptr, "TryPopFromNotificationStorageChannel"}, |
| 1219 | {160, nullptr, "GetHealthWarningDisappearedSystemEvent"}, | 1219 | {160, nullptr, "GetHealthWarningDisappearedSystemEvent"}, |
| @@ -1631,6 +1631,14 @@ void IApplicationFunctions::GetFriendInvitationStorageChannelEvent(Kernel::HLERe | |||
| 1631 | rb.PushCopyObjects(friend_invitation_storage_channel_event.readable); | 1631 | rb.PushCopyObjects(friend_invitation_storage_channel_event.readable); |
| 1632 | } | 1632 | } |
| 1633 | 1633 | ||
| 1634 | void IApplicationFunctions::TryPopFromFriendInvitationStorageChannel( | ||
| 1635 | Kernel::HLERequestContext& ctx) { | ||
| 1636 | LOG_WARNING(Service_AM, "(STUBBED) called"); | ||
| 1637 | |||
| 1638 | IPC::ResponseBuilder rb{ctx, 2}; | ||
| 1639 | rb.Push(ERR_NO_DATA_IN_CHANNEL); | ||
| 1640 | } | ||
| 1641 | |||
| 1634 | void InstallInterfaces(SM::ServiceManager& service_manager, NVFlinger::NVFlinger& nvflinger, | 1642 | void InstallInterfaces(SM::ServiceManager& service_manager, NVFlinger::NVFlinger& nvflinger, |
| 1635 | Core::System& system) { | 1643 | Core::System& system) { |
| 1636 | auto message_queue = std::make_shared<AppletMessageQueue>(system.Kernel()); | 1644 | auto message_queue = std::make_shared<AppletMessageQueue>(system.Kernel()); |
diff --git a/src/core/hle/service/am/am.h b/src/core/hle/service/am/am.h index 50737432c..a5401a4d2 100644 --- a/src/core/hle/service/am/am.h +++ b/src/core/hle/service/am/am.h | |||
| @@ -288,6 +288,7 @@ private: | |||
| 288 | void GetPreviousProgramIndex(Kernel::HLERequestContext& ctx); | 288 | void GetPreviousProgramIndex(Kernel::HLERequestContext& ctx); |
| 289 | void GetGpuErrorDetectedSystemEvent(Kernel::HLERequestContext& ctx); | 289 | void GetGpuErrorDetectedSystemEvent(Kernel::HLERequestContext& ctx); |
| 290 | void GetFriendInvitationStorageChannelEvent(Kernel::HLERequestContext& ctx); | 290 | void GetFriendInvitationStorageChannelEvent(Kernel::HLERequestContext& ctx); |
| 291 | void TryPopFromFriendInvitationStorageChannel(Kernel::HLERequestContext& ctx); | ||
| 291 | 292 | ||
| 292 | bool launch_popped_application_specific = false; | 293 | bool launch_popped_application_specific = false; |
| 293 | bool launch_popped_account_preselect = false; | 294 | bool launch_popped_account_preselect = false; |