mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-28 10:00:50 +01:00
Add SetScreenShotImageOrientation (#310)
* Add SetScreenShotImageOrientation * add a stubbed print
This commit is contained in:
parent
0cec4cbee5
commit
652238f526
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user