Просмотр исходного кода

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

emmauss 8 лет назад
Родитель
Сommit
423ae5d889
1 измененных файлов с 3 добавлено и 1 удалено
  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>()
             {
+                { 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());