From 16e9d1567410de58b8b426fffc93d1a5fe33d834 Mon Sep 17 00:00:00 2001 From: mageven <62494521+mageven@users.noreply.github.com> Date: Fri, 25 Sep 2020 15:48:28 +0530 Subject: Isolate more services to separate threads (#1573) * Isolate more services to separate threads * Fix DisplayServer * Add explanation for vi services --- Ryujinx.HLE/HOS/Services/Vi/IApplicationRootService.cs | 3 ++- Ryujinx.HLE/HOS/Services/Vi/IManagerRootService.cs | 3 ++- Ryujinx.HLE/HOS/Services/Vi/ISystemRootService.cs | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'Ryujinx.HLE/HOS/Services/Vi') diff --git a/Ryujinx.HLE/HOS/Services/Vi/IApplicationRootService.cs b/Ryujinx.HLE/HOS/Services/Vi/IApplicationRootService.cs index 3e853f02..22ffe656 100644 --- a/Ryujinx.HLE/HOS/Services/Vi/IApplicationRootService.cs +++ b/Ryujinx.HLE/HOS/Services/Vi/IApplicationRootService.cs @@ -5,7 +5,8 @@ namespace Ryujinx.HLE.HOS.Services.Vi [Service("vi:u")] class IApplicationRootService : IpcService { - public IApplicationRootService(ServiceCtx context) : base(new ServerBase("ViServer")) { } + // vi:u/m/s aren't on 3 separate threads but we can't put them together with the current ServerBase + public IApplicationRootService(ServiceCtx context) : base(new ServerBase("ViServerU")) { } [Command(0)] // GetDisplayService(u32) -> object diff --git a/Ryujinx.HLE/HOS/Services/Vi/IManagerRootService.cs b/Ryujinx.HLE/HOS/Services/Vi/IManagerRootService.cs index 31996ff1..a90690ea 100644 --- a/Ryujinx.HLE/HOS/Services/Vi/IManagerRootService.cs +++ b/Ryujinx.HLE/HOS/Services/Vi/IManagerRootService.cs @@ -5,7 +5,8 @@ namespace Ryujinx.HLE.HOS.Services.Vi [Service("vi:m")] class IManagerRootService : IpcService { - public IManagerRootService(ServiceCtx context) { } + // vi:u/m/s aren't on 3 separate threads but we can't put them together with the current ServerBase + public IManagerRootService(ServiceCtx context) : base(new ServerBase("ViServerM")) { } [Command(2)] // GetDisplayService(u32) -> object diff --git a/Ryujinx.HLE/HOS/Services/Vi/ISystemRootService.cs b/Ryujinx.HLE/HOS/Services/Vi/ISystemRootService.cs index 8d64e475..65b21613 100644 --- a/Ryujinx.HLE/HOS/Services/Vi/ISystemRootService.cs +++ b/Ryujinx.HLE/HOS/Services/Vi/ISystemRootService.cs @@ -5,7 +5,8 @@ namespace Ryujinx.HLE.HOS.Services.Vi [Service("vi:s")] class ISystemRootService : IpcService { - public ISystemRootService(ServiceCtx context) { } + // vi:u/m/s aren't on 3 separate threads but we can't put them together with the current ServerBase + public ISystemRootService(ServiceCtx context) : base(new ServerBase("ViServerS")) { } [Command(1)] // GetDisplayService(u32) -> object -- cgit v1.2.3