ILibraryAppletAccessor:90 tweak

Minor update to logic to make our work easier in the future.
This commit is contained in:
LotP 2025-10-28 13:37:20 -05:00 committed by KeatonTheBot
parent 46a0783293
commit 1a3b407839

View file

@ -119,11 +119,18 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.Lib
}
[CommandCmif(90)]
// ILibraryAppletAccessor:90
// Unknown90(ulong[4])
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.
// Since we don't support most applets for now, it's fine to stub it.
// Throw if values are not 0 to learn more about what this function does.
if (context.RequestData.ReadUInt64() != 0 || context.RequestData.ReadUInt64() != 0 ||
context.RequestData.ReadUInt64() != 0 || context.RequestData.ReadUInt64() != 0)
{
throw new ArgumentException("Invalid data: values are not 0");
}
Logger.Stub?.PrintStub(LogClass.ServiceAm);
return ResultCode.Success;