From 652238f526509ed54e1c0ba2e953097ef7b2501c Mon Sep 17 00:00:00 2001 From: greggameplayer <33609333+greggameplayer@users.noreply.github.com> Date: Wed, 8 Aug 2018 08:00:54 +0200 Subject: [PATCH] Add SetScreenShotImageOrientation (#310) * Add SetScreenShotImageOrientation * add a stubbed print --- Ryujinx.HLE/OsHle/Services/Am/ISelfController.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Ryujinx.HLE/OsHle/Services/Am/ISelfController.cs b/Ryujinx.HLE/OsHle/Services/Am/ISelfController.cs index 10d69b9b0..9b3dded2c 100644 --- a/Ryujinx.HLE/OsHle/Services/Am/ISelfController.cs +++ b/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;