From 423ae5d889163077a63684eb4c82f97d87998cac Mon Sep 17 00:00:00 2001 From: emmauss Date: Fri, 23 Mar 2018 12:44:27 +0200 Subject: [PATCH] handle vi:u and vi:s getdisplayservice (#66) --- Ryujinx.Core/OsHle/Services/Vi/ServiceVi.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Ryujinx.Core/OsHle/Services/Vi/ServiceVi.cs b/Ryujinx.Core/OsHle/Services/Vi/ServiceVi.cs index f9f6beef..cf814116 100644 --- a/Ryujinx.Core/OsHle/Services/Vi/ServiceVi.cs +++ b/Ryujinx.Core/OsHle/Services/Vi/ServiceVi.cs @@ -13,13 +13,15 @@ namespace Ryujinx.Core.OsHle.Services.Vi { m_Commands = new Dictionary() { + { 0, GetDisplayService }, + { 1, GetDisplayService }, { 2, GetDisplayService } }; } public long GetDisplayService(ServiceCtx Context) { - int Unknown = Context.RequestData.ReadInt32(); + int ServiceType = Context.RequestData.ReadInt32(); MakeObject(Context, new IApplicationDisplayService());