diff --git a/Ryujinx.HLE/HOS/Services/Vi/IManagerDisplayService.cs b/Ryujinx.HLE/HOS/Services/Vi/IManagerDisplayService.cs index f099bdef43..61f0ffaa51 100644 --- a/Ryujinx.HLE/HOS/Services/Vi/IManagerDisplayService.cs +++ b/Ryujinx.HLE/HOS/Services/Vi/IManagerDisplayService.cs @@ -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; } } diff --git a/Ryujinx.HLE/HOS/Services/Vi/ISystemDisplayService.cs b/Ryujinx.HLE/HOS/Services/Vi/ISystemDisplayService.cs index 278175eb7f..5657ba69f3 100644 --- a/Ryujinx.HLE/HOS/Services/Vi/ISystemDisplayService.cs +++ b/Ryujinx.HLE/HOS/Services/Vi/ISystemDisplayService.cs @@ -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; } }