early-access version 1416
This commit is contained in:
parent
ba262f74d0
commit
a52316d0ad
@ -1,7 +1,7 @@
|
|||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 1415.
|
This is the source code for early-access 1416.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
@ -1219,7 +1219,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"},
|
||||||
@ -1238,6 +1238,9 @@ IApplicationFunctions::IApplicationFunctions(Core::System& system_)
|
|||||||
friend_invitation_storage_channel_event =
|
friend_invitation_storage_channel_event =
|
||||||
Kernel::KEvent::Create(kernel, "IApplicationFunctions:FriendInvitationStorageChannelEvent");
|
Kernel::KEvent::Create(kernel, "IApplicationFunctions:FriendInvitationStorageChannelEvent");
|
||||||
friend_invitation_storage_channel_event->Initialize();
|
friend_invitation_storage_channel_event->Initialize();
|
||||||
|
health_warning_disappeared_system_event =
|
||||||
|
Kernel::KEvent::Create(kernel, "IApplicationFunctions:HealthWarningDisappearedSystemEvent");
|
||||||
|
health_warning_disappeared_system_event->Initialize();
|
||||||
}
|
}
|
||||||
|
|
||||||
IApplicationFunctions::~IApplicationFunctions() = default;
|
IApplicationFunctions::~IApplicationFunctions() = default;
|
||||||
@ -1653,6 +1656,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->GetReadableEvent());
|
||||||
|
}
|
||||||
|
|
||||||
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());
|
||||||
|
@ -291,12 +291,14 @@ private:
|
|||||||
void GetGpuErrorDetectedSystemEvent(Kernel::HLERequestContext& ctx);
|
void GetGpuErrorDetectedSystemEvent(Kernel::HLERequestContext& ctx);
|
||||||
void GetFriendInvitationStorageChannelEvent(Kernel::HLERequestContext& ctx);
|
void GetFriendInvitationStorageChannelEvent(Kernel::HLERequestContext& ctx);
|
||||||
void TryPopFromFriendInvitationStorageChannel(Kernel::HLERequestContext& ctx);
|
void TryPopFromFriendInvitationStorageChannel(Kernel::HLERequestContext& ctx);
|
||||||
|
void GetHealthWarningDisappearedSystemEvent(Kernel::HLERequestContext& ctx);
|
||||||
|
|
||||||
bool launch_popped_application_specific = false;
|
bool launch_popped_application_specific = false;
|
||||||
bool launch_popped_account_preselect = false;
|
bool launch_popped_account_preselect = false;
|
||||||
s32 previous_program_index{-1};
|
s32 previous_program_index{-1};
|
||||||
std::shared_ptr<Kernel::KEvent> gpu_error_detected_event;
|
std::shared_ptr<Kernel::KEvent> gpu_error_detected_event;
|
||||||
std::shared_ptr<Kernel::KEvent> friend_invitation_storage_channel_event;
|
std::shared_ptr<Kernel::KEvent> friend_invitation_storage_channel_event;
|
||||||
|
std::shared_ptr<Kernel::KEvent> health_warning_disappeared_system_event;
|
||||||
};
|
};
|
||||||
|
|
||||||
class IHomeMenuFunctions final : public ServiceFramework<IHomeMenuFunctions> {
|
class IHomeMenuFunctions final : public ServiceFramework<IHomeMenuFunctions> {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Copyright 2015 Citra Emulator Project
|
// Copyright 2021 yuzu Emulator Project
|
||||||
// Licensed under GPLv2 or any later version
|
// Licensed under GPLv2 or any later version
|
||||||
// Refer to the license.txt file included.
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Copyright 2015 Citra Emulator Project
|
// Copyright 2021 yuzu Emulator Project
|
||||||
// Licensed under GPLv2 or any later version
|
// Licensed under GPLv2 or any later version
|
||||||
// Refer to the license.txt file included.
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user