diff options
| author | emmauss <emmausssss@gmail.com> | 2018-03-06 15:25:26 +0200 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-03-06 10:25:26 -0300 |
| commit | 39ed14a3d6304eeec8ce1fa34819b39c3ae28956 (patch) | |
| tree | c2c7b0a978fb0d077940bd135badee2ed8737db8 | |
| parent | 2d9edddf8ccc32ce1b179a10e23bca1276289447 (diff) | |
stub IApplicationDisplayService:CloseDisplay (#52)
| -rw-r--r-- | Ryujinx.Core/OsHle/Services/Vi/IApplicationDisplayService.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Ryujinx.Core/OsHle/Services/Vi/IApplicationDisplayService.cs b/Ryujinx.Core/OsHle/Services/Vi/IApplicationDisplayService.cs index a899cdd5..04dfee15 100644 --- a/Ryujinx.Core/OsHle/Services/Vi/IApplicationDisplayService.cs +++ b/Ryujinx.Core/OsHle/Services/Vi/IApplicationDisplayService.cs @@ -24,6 +24,7 @@ namespace Ryujinx.Core.OsHle.IpcServices.Vi { 102, GetManagerDisplayService }, { 103, GetIndirectDisplayTransactionService }, { 1010, OpenDisplay }, + { 1020, CloseDisplay }, { 2020, OpenLayer }, { 2030, CreateStrayLayer }, { 2101, SetLayerScalingMode }, @@ -70,6 +71,15 @@ namespace Ryujinx.Core.OsHle.IpcServices.Vi 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) { long LayerId = Context.RequestData.ReadInt64(); |
