IManagerDisplayService and ISystemDisplayService style fixes
This commit is contained in:
parent
b58a78cb08
commit
046cd1dca1
2 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue