From ba19c2c9e71284e6fb6f6c05429bfbfeaec68543 Mon Sep 17 00:00:00 2001 From: emmaus Date: Wed, 21 Mar 2018 20:20:34 +0000 Subject: [PATCH] handle vi:u and vi:s getdisplayservice --- 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 f9f6beefd5..cf81411616 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());