mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-13 04:37:02 +00:00
ILibraryAppletAccessor:90 tweak
Minor update to logic to make our work easier in the future.
This commit is contained in:
parent
46a0783293
commit
1a3b407839
1 changed files with 9 additions and 2 deletions
|
|
@ -119,11 +119,18 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.Lib
|
||||||
}
|
}
|
||||||
|
|
||||||
[CommandCmif(90)]
|
[CommandCmif(90)]
|
||||||
// ILibraryAppletAccessor:90
|
// Unknown90(ulong[4])
|
||||||
public ResultCode Unknown90(ServiceCtx context)
|
public ResultCode Unknown90(ServiceCtx context)
|
||||||
{
|
{
|
||||||
// NOTE: This call is performed on SDK 20+ when applet is called.
|
// 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);
|
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||||
return ResultCode.Success;
|
return ResultCode.Success;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue