Add IManagerDisplayService::CreateStrayLayer (#683)
This was added in 7.0.0
This commit is contained in:
parent
6e8c080968
commit
0d69d8e6c1
2 changed files with 7 additions and 6 deletions
|
@ -61,7 +61,7 @@ namespace Ryujinx.HLE.HOS.Services.Vi
|
||||||
|
|
||||||
public long GetManagerDisplayService(ServiceCtx context)
|
public long GetManagerDisplayService(ServiceCtx context)
|
||||||
{
|
{
|
||||||
MakeObject(context, new IManagerDisplayService());
|
MakeObject(context, new IManagerDisplayService(this));
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,12 +10,13 @@ namespace Ryujinx.HLE.HOS.Services.Vi
|
||||||
|
|
||||||
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands;
|
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands;
|
||||||
|
|
||||||
public IManagerDisplayService()
|
public IManagerDisplayService(IApplicationDisplayService applicationDisplayService)
|
||||||
{
|
{
|
||||||
_commands = new Dictionary<int, ServiceProcessRequest>
|
_commands = new Dictionary<int, ServiceProcessRequest>
|
||||||
{
|
{
|
||||||
{ 2010, CreateManagedLayer },
|
{ 2010, CreateManagedLayer },
|
||||||
{ 2011, DestroyManagedLayer },
|
{ 2011, DestroyManagedLayer },
|
||||||
|
{ 2012, applicationDisplayService.CreateStrayLayer },
|
||||||
{ 6000, AddToLayerStack },
|
{ 6000, AddToLayerStack },
|
||||||
{ 6002, SetLayerVisibility }
|
{ 6002, SetLayerVisibility }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue