|
|
@ -1216,7 +1216,7 @@ IApplicationFunctions::IApplicationFunctions(Core::System& system_) |
|
|
{141, &IApplicationFunctions::TryPopFromFriendInvitationStorageChannel, "TryPopFromFriendInvitationStorageChannel"}, |
|
|
{141, &IApplicationFunctions::TryPopFromFriendInvitationStorageChannel, "TryPopFromFriendInvitationStorageChannel"}, |
|
|
{150, nullptr, "GetNotificationStorageChannelEvent"}, |
|
|
{150, nullptr, "GetNotificationStorageChannelEvent"}, |
|
|
{151, nullptr, "TryPopFromNotificationStorageChannel"}, |
|
|
{151, nullptr, "TryPopFromNotificationStorageChannel"}, |
|
|
{160, nullptr, "GetHealthWarningDisappearedSystemEvent"}, |
|
|
|
|
|
|
|
|
{160, &IApplicationFunctions::GetHealthWarningDisappearedSystemEvent, "GetHealthWarningDisappearedSystemEvent"}, |
|
|
{170, nullptr, "SetHdcpAuthenticationActivated"}, |
|
|
{170, nullptr, "SetHdcpAuthenticationActivated"}, |
|
|
{180, nullptr, "GetLaunchRequiredVersion"}, |
|
|
{180, nullptr, "GetLaunchRequiredVersion"}, |
|
|
{181, nullptr, "UpgradeLaunchRequiredVersion"}, |
|
|
{181, nullptr, "UpgradeLaunchRequiredVersion"}, |
|
|
@ -1234,6 +1234,9 @@ IApplicationFunctions::IApplicationFunctions(Core::System& system_) |
|
|
|
|
|
|
|
|
friend_invitation_storage_channel_event = Kernel::WritableEvent::CreateEventPair( |
|
|
friend_invitation_storage_channel_event = Kernel::WritableEvent::CreateEventPair( |
|
|
kernel, "IApplicationFunctions:FriendInvitationStorageChannelEvent"); |
|
|
kernel, "IApplicationFunctions:FriendInvitationStorageChannelEvent"); |
|
|
|
|
|
|
|
|
|
|
|
health_warning_disappeared_system_event = Kernel::WritableEvent::CreateEventPair( |
|
|
|
|
|
kernel, "IApplicationFunctions:HealthWarningDisappearedSystemEvent"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
IApplicationFunctions::~IApplicationFunctions() = default; |
|
|
IApplicationFunctions::~IApplicationFunctions() = default; |
|
|
@ -1649,6 +1652,14 @@ void IApplicationFunctions::TryPopFromFriendInvitationStorageChannel( |
|
|
rb.Push(ERR_NO_DATA_IN_CHANNEL); |
|
|
rb.Push(ERR_NO_DATA_IN_CHANNEL); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void IApplicationFunctions::GetHealthWarningDisappearedSystemEvent(Kernel::HLERequestContext& ctx) { |
|
|
|
|
|
LOG_DEBUG(Service_AM, "called"); |
|
|
|
|
|
|
|
|
|
|
|
IPC::ResponseBuilder rb{ctx, 2, 1}; |
|
|
|
|
|
rb.Push(RESULT_SUCCESS); |
|
|
|
|
|
rb.PushCopyObjects(health_warning_disappeared_system_event.readable); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
void InstallInterfaces(SM::ServiceManager& service_manager, NVFlinger::NVFlinger& nvflinger, |
|
|
void InstallInterfaces(SM::ServiceManager& service_manager, NVFlinger::NVFlinger& nvflinger, |
|
|
Core::System& system) { |
|
|
Core::System& system) { |
|
|
auto message_queue = std::make_shared<AppletMessageQueue>(system.Kernel()); |
|
|
auto message_queue = std::make_shared<AppletMessageQueue>(system.Kernel()); |
|
|
|