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 }, { 13, SetFocusHandlingMode },
{ 14, SetRestartMessageEnabled }, { 14, SetRestartMessageEnabled },
{ 16, SetOutOfFocusSuspendingEnabled }, { 16, SetOutOfFocusSuspendingEnabled },
{ 19, SetScreenShotImageOrientation },
{ 50, SetHandlesRequestToDisplay } { 50, SetHandlesRequestToDisplay }
}; };
@ -123,6 +124,15 @@ namespace Ryujinx.HLE.OsHle.Services.Am
return 0; 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) public long SetHandlesRequestToDisplay(ServiceCtx Context)
{ {
bool Enable = Context.RequestData.ReadByte() != 0 ? true : false; bool Enable = Context.RequestData.ReadByte() != 0 ? true : false;