From 46a07832931d5a6e3ef1863b4c21a15a2201f03c Mon Sep 17 00:00:00 2001 From: sh0inx Date: Mon, 27 Oct 2025 12:48:17 -0500 Subject: [PATCH] HLE: Stub ILibraryAppletAccessor Unknown90 This lets games such as The Legend of Zelda: Tears of the Kingdom (v1.4.2) and other SDK 20+ games successfully circumvent a crash when calling an applet. Example: No controller connected on boot -> calls Controller Applet -> no stub = crash. --- .../LibraryAppletCreator/ILibraryAppletAccessor.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/LibraryAppletCreator/ILibraryAppletAccessor.cs b/src/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/LibraryAppletCreator/ILibraryAppletAccessor.cs index 148628136..c7a7cdbbe 100644 --- a/src/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/LibraryAppletCreator/ILibraryAppletAccessor.cs +++ b/src/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/LibraryAppletCreator/ILibraryAppletAccessor.cs @@ -117,6 +117,17 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.Lib return ResultCode.Success; } + + [CommandCmif(90)] + // ILibraryAppletAccessor:90 + public ResultCode Unknown90(ServiceCtx context) + { + // NOTE: This call is performed on SDK 20+ when applet is called. + // Since we don't support applets for now, it's fine to stub it. + + Logger.Stub?.PrintStub(LogClass.ServiceAm); + return ResultCode.Success; + } [CommandCmif(100)] // PushInData(object)