Implement CreateManagedDisplayLayer on ISelfController

This commit is contained in:
Lordmau5 2018-06-11 01:54:57 +02:00
parent 518fe799da
commit acb7f3bf9a

View file

@ -25,6 +25,7 @@ namespace Ryujinx.Core.OsHle.Services.Am
{ 13, SetFocusHandlingMode },
{ 14, SetRestartMessageEnabled },
{ 16, SetOutOfFocusSuspendingEnabled },
{ 40, CreateManagedDisplayLayer },
{ 50, SetHandlesRequestToDisplay }
};
@ -105,6 +106,15 @@ namespace Ryujinx.Core.OsHle.Services.Am
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)
{
bool Enable = Context.RequestData.ReadByte() != 0 ? true : false;