Update ILibraryAppletAccessor.cs

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.
merge-requests/197/head
Shyanne 2025-10-27 13:26:35 -04:00
parent b06846aa5e
commit 91a6e03878
1 changed files with 11 additions and 0 deletions

View File

@ -118,6 +118,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<nn::am::service::IStorage>)
public ResultCode PushInData(ServiceCtx context)