1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-05 02:02:01 +00:00

am: stub PresetLibraryAppletGpuTimeSliceZero (#1876)

This commit is contained in:
Ac_K 2021-01-09 03:43:36 +01:00 committed by GitHub
parent b9200dd734
commit 71e2a00221
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,6 +86,19 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.Lib
return (ResultCode)_applet.GetResult(); return (ResultCode)_applet.GetResult();
} }
[Command(60)]
// PresetLibraryAppletGpuTimeSliceZero()
public ResultCode PresetLibraryAppletGpuTimeSliceZero(ServiceCtx context)
{
// NOTE: This call reset two internal fields to 0 and one internal field to "true".
// It seems to be used only with software keyboard inline.
// Since we doesn't support applets for now, it's fine to stub it.
Logger.Stub?.PrintStub(LogClass.ServiceAm);
return ResultCode.Success;
}
[Command(100)] [Command(100)]
// PushInData(object<nn::am::service::IStorage>) // PushInData(object<nn::am::service::IStorage>)
public ResultCode PushInData(ServiceCtx context) public ResultCode PushInData(ServiceCtx context)
@ -152,7 +165,6 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.Lib
} }
} }
context.Response.HandleDesc = IpcHandleDesc.MakeCopy(_normalOutDataEventHandle); context.Response.HandleDesc = IpcHandleDesc.MakeCopy(_normalOutDataEventHandle);
return ResultCode.Success; return ResultCode.Success;