mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-13 05:06:41 +00:00
Add SetScreenShotImageOrientation (#310)
* Add SetScreenShotImageOrientation * add a stubbed print
This commit is contained in:
parent
0cec4cbee5
commit
652238f526
1 changed files with 10 additions and 0 deletions
|
@ -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 a new issue