aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremmauss <emmausssss@gmail.com>2018-03-23 12:44:27 +0200
committergdkchan <gab.dark.100@gmail.com>2018-03-23 07:44:27 -0300
commit423ae5d889163077a63684eb4c82f97d87998cac (patch)
tree31186e8db24f662734de1140d0a87e6952d4702b
parent33ad3982aa6b823bb2f93ec00f911a558dd98b1f (diff)
handle vi:u and vi:s getdisplayservice (#66)
-rw-r--r--Ryujinx.Core/OsHle/Services/Vi/ServiceVi.cs4
1 files changed, 3 insertions, 1 deletions
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<int, ServiceProcessRequest>()
{
+ { 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());