1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-10 15:31:44 +00:00

Add SetScreenShotImageOrientation (#310)

* Add SetScreenShotImageOrientation

* add a stubbed print
This commit is contained in:
greggameplayer 2018-08-08 08:00:54 +02:00 committed by gdkchan
parent 0cec4cbee5
commit 652238f526

View file

@ -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;