mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 01:25:25 +00:00
stub IApplicationDisplayService:CloseDisplay (#52)
This commit is contained in:
parent
2d9edddf8c
commit
39ed14a3d6
|
@ -24,6 +24,7 @@ namespace Ryujinx.Core.OsHle.IpcServices.Vi
|
||||||
{ 102, GetManagerDisplayService },
|
{ 102, GetManagerDisplayService },
|
||||||
{ 103, GetIndirectDisplayTransactionService },
|
{ 103, GetIndirectDisplayTransactionService },
|
||||||
{ 1010, OpenDisplay },
|
{ 1010, OpenDisplay },
|
||||||
|
{ 1020, CloseDisplay },
|
||||||
{ 2020, OpenLayer },
|
{ 2020, OpenLayer },
|
||||||
{ 2030, CreateStrayLayer },
|
{ 2030, CreateStrayLayer },
|
||||||
{ 2101, SetLayerScalingMode },
|
{ 2101, SetLayerScalingMode },
|
||||||
|
@ -70,6 +71,15 @@ namespace Ryujinx.Core.OsHle.IpcServices.Vi
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public long CloseDisplay(ServiceCtx Context)
|
||||||
|
{
|
||||||
|
int DisplayId = Context.RequestData.ReadInt32();
|
||||||
|
|
||||||
|
Context.Ns.Os.Displays.Delete(DisplayId);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
public long OpenLayer(ServiceCtx Context)
|
public long OpenLayer(ServiceCtx Context)
|
||||||
{
|
{
|
||||||
long LayerId = Context.RequestData.ReadInt64();
|
long LayerId = Context.RequestData.ReadInt64();
|
||||||
|
|
Loading…
Reference in a new issue