Update am.cpp
Edits the am.cpp file for stubbing.
This commit is contained in:
@@ -1199,7 +1199,7 @@ IApplicationFunctions::IApplicationFunctions(Core::System& system_)
|
|||||||
{124, nullptr, "EnableApplicationAllThreadDumpOnCrash"},
|
{124, nullptr, "EnableApplicationAllThreadDumpOnCrash"},
|
||||||
{130, &IApplicationFunctions::GetGpuErrorDetectedSystemEvent, "GetGpuErrorDetectedSystemEvent"},
|
{130, &IApplicationFunctions::GetGpuErrorDetectedSystemEvent, "GetGpuErrorDetectedSystemEvent"},
|
||||||
{140, &IApplicationFunctions::GetFriendInvitationStorageChannelEvent, "GetFriendInvitationStorageChannelEvent"},
|
{140, &IApplicationFunctions::GetFriendInvitationStorageChannelEvent, "GetFriendInvitationStorageChannelEvent"},
|
||||||
{141, nullptr, "TryPopFromFriendInvitationStorageChannel"},
|
{141, &IApplicationfunctions::TryPopFromFriendInvitationStorageChannel, "TryPopFromFriendInvitationStorageChannel"},
|
||||||
{150, nullptr, "GetNotificationStorageChannelEvent"},
|
{150, nullptr, "GetNotificationStorageChannelEvent"},
|
||||||
{151, nullptr, "TryPopFromNotificationStorageChannel"},
|
{151, nullptr, "TryPopFromNotificationStorageChannel"},
|
||||||
{160, nullptr, "GetHealthWarningDisappearedSystemEvent"},
|
{160, nullptr, "GetHealthWarningDisappearedSystemEvent"},
|
||||||
@@ -1286,6 +1286,13 @@ void IApplicationFunctions::EndBlockingHomeButton(Kernel::HLERequestContext& ctx
|
|||||||
rb.Push(RESULT_SUCCESS);
|
rb.Push(RESULT_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void IApplicationFunctions::EndBlockingHomeButton(Kernel::HLERequestContext& ctx) {
|
||||||
|
LOG_WARNING(Service_AM, "(STUBBED) called");
|
||||||
|
|
||||||
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
|
rb.Push(RESULT_SUCCESS);
|
||||||
|
}
|
||||||
|
|
||||||
void IApplicationFunctions::PopLaunchParameter(Kernel::HLERequestContext& ctx) {
|
void IApplicationFunctions::PopLaunchParameter(Kernel::HLERequestContext& ctx) {
|
||||||
IPC::RequestParser rp{ctx};
|
IPC::RequestParser rp{ctx};
|
||||||
const auto kind = rp.PopEnum<LaunchParameterKind>();
|
const auto kind = rp.PopEnum<LaunchParameterKind>();
|
||||||
|
|||||||
Reference in New Issue
Block a user