Explorar o código

handle vi:u and vi:s getdisplayservice (#66)

emmauss %!s(int64=8) %!d(string=hai) anos
pai
achega
423ae5d889
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      Ryujinx.Core/OsHle/Services/Vi/ServiceVi.cs

+ 3 - 1
Ryujinx.Core/OsHle/Services/Vi/ServiceVi.cs

@@ -13,13 +13,15 @@ namespace Ryujinx.Core.OsHle.Services.Vi
         {
         {
             m_Commands = new Dictionary<int, ServiceProcessRequest>()
             m_Commands = new Dictionary<int, ServiceProcessRequest>()
             {
             {
+                { 0, GetDisplayService },
+                { 1, GetDisplayService },
                 { 2, GetDisplayService }
                 { 2, GetDisplayService }
             };
             };
         }
         }
 
 
         public long GetDisplayService(ServiceCtx Context)
         public long GetDisplayService(ServiceCtx Context)
         {
         {
-            int Unknown = Context.RequestData.ReadInt32();
+            int ServiceType = Context.RequestData.ReadInt32();
 
 
             MakeObject(Context, new IApplicationDisplayService());
             MakeObject(Context, new IApplicationDisplayService());