From a9f6342ea4270bf2712a9364264006d537588be2 Mon Sep 17 00:00:00 2001 From: spectranator Date: Sun, 30 Jun 2024 17:55:17 +0200 Subject: [PATCH] Added ILibraryAppletSelfAccessor::UnpopInData stub --- .../service/am/service/library_applet_self_accessor.cpp | 7 ++++++- .../hle/service/am/service/library_applet_self_accessor.h | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/core/hle/service/am/service/library_applet_self_accessor.cpp b/src/core/hle/service/am/service/library_applet_self_accessor.cpp index 3fe36b899..cbe45189f 100644 --- a/src/core/hle/service/am/service/library_applet_self_accessor.cpp +++ b/src/core/hle/service/am/service/library_applet_self_accessor.cpp @@ -63,7 +63,7 @@ ILibraryAppletSelfAccessor::ILibraryAppletSelfAccessor(Core::System& system_, {19, D<&ILibraryAppletSelfAccessor::GetDesirableKeyboardLayout>, "GetDesirableKeyboardLayout"}, {20, nullptr, "PopExtraStorage"}, {25, nullptr, "GetPopExtraStorageEvent"}, - {30, nullptr, "UnpopInData"}, + {30, D<&ILibraryAppletSelfAccessor::UnpopInData>, "UnpopInData"}, {31, nullptr, "UnpopExtraStorage"}, {40, nullptr, "GetIndirectLayerProducerHandle"}, {50, D<&ILibraryAppletSelfAccessor::ReportVisibleError>, "ReportVisibleError"}, @@ -223,6 +223,11 @@ Result ILibraryAppletSelfAccessor::ReportVisibleErrorWithErrorContext( R_SUCCEED(); } +Result ILibraryAppletSelfAccessor::UnpopInData() { + LOG_WARNING(Service_AM, "(STUBBED) called"); + R_SUCCEED(); +} + Result ILibraryAppletSelfAccessor::GetMainAppletApplicationDesiredLanguage( Out out_desired_language) { // FIXME: this is copied from IApplicationFunctions::GetDesiredLanguage diff --git a/src/core/hle/service/am/service/library_applet_self_accessor.h b/src/core/hle/service/am/service/library_applet_self_accessor.h index 3e60393c2..8c850faa8 100644 --- a/src/core/hle/service/am/service/library_applet_self_accessor.h +++ b/src/core/hle/service/am/service/library_applet_self_accessor.h @@ -69,6 +69,7 @@ private: Result ReportVisibleError(ErrorCode error_code); Result ReportVisibleErrorWithErrorContext( ErrorCode error_code, InLargeData error_context); + Result UnpopInData(); Result GetMainAppletApplicationDesiredLanguage(Out out_desired_language); Result GetCurrentApplicationId(Out out_application_id); Result GetMainAppletAvailableUsers(Out out_can_select_any_user, Out out_users_count,