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

Add SetScreenShotImageOrientation (#310)

* Add SetScreenShotImageOrientation

* add a stubbed print
greggameplayer 7 лет назад
Родитель
Сommit
652238f526
1 измененных файлов с 10 добавлено и 0 удалено
  1. 10 0
      Ryujinx.HLE/OsHle/Services/Am/ISelfController.cs

+ 10 - 0
Ryujinx.HLE/OsHle/Services/Am/ISelfController.cs

@@ -27,6 +27,7 @@ namespace Ryujinx.HLE.OsHle.Services.Am
                 { 13, SetFocusHandlingMode                  },
                 { 14, SetRestartMessageEnabled              },
                 { 16, SetOutOfFocusSuspendingEnabled        },
+                { 19, SetScreenShotImageOrientation         },
                 { 50, SetHandlesRequestToDisplay            }
             };
 
@@ -123,6 +124,15 @@ namespace Ryujinx.HLE.OsHle.Services.Am
             return 0;
         }
 
+        public long SetScreenShotImageOrientation(ServiceCtx Context)
+        {
+            int Orientation = Context.RequestData.ReadInt32();
+            
+            Context.Ns.Log.PrintStub(LogClass.ServiceAm, "Stubbed.");
+
+            return 0;
+        }
+
         public long SetHandlesRequestToDisplay(ServiceCtx Context)
         {
             bool Enable = Context.RequestData.ReadByte() != 0 ? true : false;