aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreggameplayer <33609333+greggameplayer@users.noreply.github.com>2018-08-08 08:00:54 +0200
committergdkchan <gab.dark.100@gmail.com>2018-08-08 03:00:54 -0300
commit652238f526509ed54e1c0ba2e953097ef7b2501c (patch)
tree7bfa829527201289399c5ffff1e148ac6755a866
parent0cec4cbee5bbd7b86679eb3c0bb1dcf8ccfb2938 (diff)
Add SetScreenShotImageOrientation (#310)
* Add SetScreenShotImageOrientation * add a stubbed print
-rw-r--r--Ryujinx.HLE/OsHle/Services/Am/ISelfController.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Ryujinx.HLE/OsHle/Services/Am/ISelfController.cs b/Ryujinx.HLE/OsHle/Services/Am/ISelfController.cs
index 10d69b9b..9b3dded2 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;