aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ryujinx.HLE/HOS/Services/Vi/IApplicationDisplayService.cs2
-rw-r--r--Ryujinx.HLE/HOS/Services/Vi/IManagerDisplayService.cs11
2 files changed, 7 insertions, 6 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Vi/IApplicationDisplayService.cs b/Ryujinx.HLE/HOS/Services/Vi/IApplicationDisplayService.cs
index 48cf3288..686f85ef 100644
--- a/Ryujinx.HLE/HOS/Services/Vi/IApplicationDisplayService.cs
+++ b/Ryujinx.HLE/HOS/Services/Vi/IApplicationDisplayService.cs
@@ -61,7 +61,7 @@ namespace Ryujinx.HLE.HOS.Services.Vi
public long GetManagerDisplayService(ServiceCtx context)
{
- MakeObject(context, new IManagerDisplayService());
+ MakeObject(context, new IManagerDisplayService(this));
return 0;
}
diff --git a/Ryujinx.HLE/HOS/Services/Vi/IManagerDisplayService.cs b/Ryujinx.HLE/HOS/Services/Vi/IManagerDisplayService.cs
index c655e26c..d717b78a 100644
--- a/Ryujinx.HLE/HOS/Services/Vi/IManagerDisplayService.cs
+++ b/Ryujinx.HLE/HOS/Services/Vi/IManagerDisplayService.cs
@@ -10,14 +10,15 @@ namespace Ryujinx.HLE.HOS.Services.Vi
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands;
- public IManagerDisplayService()
+ public IManagerDisplayService(IApplicationDisplayService applicationDisplayService)
{
_commands = new Dictionary<int, ServiceProcessRequest>
{
- { 2010, CreateManagedLayer },
- { 2011, DestroyManagedLayer },
- { 6000, AddToLayerStack },
- { 6002, SetLayerVisibility }
+ { 2010, CreateManagedLayer },
+ { 2011, DestroyManagedLayer },
+ { 2012, applicationDisplayService.CreateStrayLayer },
+ { 6000, AddToLayerStack },
+ { 6002, SetLayerVisibility }
};
}