VERY experimental Nintendo Switch 2 emulator
C++
am: Stub out ILibraryAppletAccessor Start and GetResult methods.
bunnei96b4c99a7a71
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cppindex 40922ec3a1..a7c9701c82 100644--- a/src/core/hle/service/am/am.cpp+++ b/src/core/hle/service/am/am.cpp@@ -436,10 +436,10 @@ public:static const FunctionInfo functions[] = {{0, &ILibraryAppletAccessor::GetAppletStateChangedEvent, "GetAppletStateChangedEvent"},{1, nullptr, "IsCompleted"},- {10, nullptr, "Start"},+ {10, &ILibraryAppletAccessor::Start, "Start"},{20, nullptr, "RequestExit"},{25, nullptr, "Terminate"},- {30, nullptr, "GetResult"},+ {30, &ILibraryAppletAccessor::GetResult, "GetResult"},{50, nullptr, "SetOutOfFocusApplicationSuspendingEnabled"},{100, &ILibraryAppletAccessor::PushInData, "PushInData"},{101, nullptr, "PopOutData"},@@ -470,6 +470,20 @@ private:NGLOG_WARNING(Service_AM, "(STUBBED) called");}+ void GetResult(Kernel::HLERequestContext& ctx) {+ IPC::ResponseBuilder rb{ctx, 2};+ rb.Push(RESULT_SUCCESS);++ NGLOG_WARNING(Service_AM, "(STUBBED) called");+ }++ void Start(Kernel::HLERequestContext& ctx) {+ IPC::ResponseBuilder rb{ctx, 2};+ rb.Push(RESULT_SUCCESS);++ NGLOG_WARNING(Service_AM, "(STUBBED) called");+ }+void PushInData(Kernel::HLERequestContext& ctx) {IPC::RequestParser rp{ctx};storage_stack.push(rp.PopIpcInterface<AM::IStorage>());