From 42a2a80b876bfbaac212f4f485f3e4019893b8a0 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Thu, 5 May 2022 15:23:30 -0300 Subject: Enable JIT service LLE (#2959) * Enable JIT service LLE * Force disable PPTC when using the JIT service PPTC does not support multiple guest processes * Fix build * Make SM service registration per emulation context rather than global * Address PR feedback --- Ryujinx.HLE/HOS/Services/Ro/IRoInterface.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Ryujinx.HLE/HOS/Services/Ro') diff --git a/Ryujinx.HLE/HOS/Services/Ro/IRoInterface.cs b/Ryujinx.HLE/HOS/Services/Ro/IRoInterface.cs index d986bc41..5590bfdd 100644 --- a/Ryujinx.HLE/HOS/Services/Ro/IRoInterface.cs +++ b/Ryujinx.HLE/HOS/Services/Ro/IRoInterface.cs @@ -579,6 +579,15 @@ namespace Ryujinx.HLE.HOS.Services.Ro return ResultCode.Success; } + [CommandHipc(10)] + // LoadNrr2(u64, u64, u64, pid) + public ResultCode LoadNrr2(ServiceCtx context) + { + context.Device.System.KernelContext.Syscall.CloseHandle(context.Request.HandleDesc.ToCopy[0]); + + return LoadNrr(context); + } + protected override void Dispose(bool isDisposing) { if (isDisposing) -- cgit v1.2.3