Merge a463cc9970
into 09c53fe06f
This commit is contained in:
commit
08e98b212a
1 changed files with 10 additions and 0 deletions
|
@ -25,6 +25,7 @@ namespace Ryujinx.HLE.OsHle.Services.Am
|
||||||
{ 13, SetFocusHandlingMode },
|
{ 13, SetFocusHandlingMode },
|
||||||
{ 14, SetRestartMessageEnabled },
|
{ 14, SetRestartMessageEnabled },
|
||||||
{ 16, SetOutOfFocusSuspendingEnabled },
|
{ 16, SetOutOfFocusSuspendingEnabled },
|
||||||
|
{ 40, CreateManagedDisplayLayer },
|
||||||
{ 50, SetHandlesRequestToDisplay }
|
{ 50, SetHandlesRequestToDisplay }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -105,6 +106,15 @@ namespace Ryujinx.HLE.OsHle.Services.Am
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public long CreateManagedDisplayLayer(ServiceCtx Context)
|
||||||
|
{
|
||||||
|
Context.Ns.Log.PrintStub(LogClass.ServiceAm, "Stubbed.");
|
||||||
|
|
||||||
|
Context.ResponseData.Write(1L);
|
||||||
|
|
||||||
|
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…
Add table
Add a link
Reference in a new issue