IManagerDisplayService and ISystemDisplayService style fixes

This commit is contained in:
gdkchan 2018-08-15 19:53:43 -03:00
parent b58a78cb08
commit 046cd1dca1
2 changed files with 9 additions and 0 deletions

View file

@ -24,25 +24,30 @@ namespace Ryujinx.HLE.HOS.Services.Vi
public static long CreateManagedLayer(ServiceCtx Context)
{
Context.Device.Log.PrintStub(LogClass.ServiceVi, "Stubbed.");
Context.ResponseData.Write(0L); //LayerId
return 0;
}
public long DestroyManagedLayer(ServiceCtx Context)
{
Context.Device.Log.PrintStub(LogClass.ServiceVi, "Stubbed.");
return 0;
}
public static long AddToLayerStack(ServiceCtx Context)
{
Context.Device.Log.PrintStub(LogClass.ServiceVi, "Stubbed.");
return 0;
}
public static long SetLayerVisibility(ServiceCtx Context)
{
Context.Device.Log.PrintStub(LogClass.ServiceVi, "Stubbed.");
return 0;
}
}

View file

@ -23,21 +23,25 @@ namespace Ryujinx.HLE.HOS.Services.Vi
public static long SetLayerZ(ServiceCtx Context)
{
Context.Device.Log.PrintStub(LogClass.ServiceVi, "Stubbed.");
return 0;
}
public static long SetLayerVisibility(ServiceCtx Context)
{
Context.Device.Log.PrintStub(LogClass.ServiceVi, "Stubbed.");
return 0;
}
public static long GetDisplayMode(ServiceCtx Context)
{
//TODO: De-hardcode resolution.
Context.ResponseData.Write(1280);
Context.ResponseData.Write(720);
Context.ResponseData.Write(60.0f);
Context.ResponseData.Write(0);
return 0;
}
}