diff options
| author | emmauss <emmausssss@gmail.com> | 2018-04-05 01:16:59 +0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-04-04 19:16:59 -0300 |
| commit | 836a003c8e092653d4fdf9c83df2b7f7401717d2 (patch) | |
| tree | f8de706ea994bb8ae3a69d1bc79b9bfeca00fb0e /Ryujinx.Core/OsHle/Services/Vi | |
| parent | e16ca561cb32b8d3a12689290dd75e357d28e857 (diff) | |
stubs (#69)
Diffstat (limited to 'Ryujinx.Core/OsHle/Services/Vi')
| -rw-r--r-- | Ryujinx.Core/OsHle/Services/Vi/IApplicationDisplayService.cs | 11 | ||||
| -rw-r--r-- | Ryujinx.Core/OsHle/Services/Vi/ISystemDisplayService.cs | 8 |
2 files changed, 18 insertions, 1 deletions
diff --git a/Ryujinx.Core/OsHle/Services/Vi/IApplicationDisplayService.cs b/Ryujinx.Core/OsHle/Services/Vi/IApplicationDisplayService.cs index c7e7524c..b92dc16c 100644 --- a/Ryujinx.Core/OsHle/Services/Vi/IApplicationDisplayService.cs +++ b/Ryujinx.Core/OsHle/Services/Vi/IApplicationDisplayService.cs @@ -25,6 +25,7 @@ namespace Ryujinx.Core.OsHle.Services.Vi { 103, GetIndirectDisplayTransactionService }, { 1010, OpenDisplay }, { 1020, CloseDisplay }, + { 1102, GetDisplayResolution }, { 2020, OpenLayer }, { 2021, CloseLayer }, { 2030, CreateStrayLayer }, @@ -84,6 +85,16 @@ namespace Ryujinx.Core.OsHle.Services.Vi return 0; } + public long GetDisplayResolution(ServiceCtx Context) + { + long DisplayId = Context.RequestData.ReadInt32(); + + Context.ResponseData.Write(1280); + Context.ResponseData.Write(720); + + return 0; + } + public long OpenLayer(ServiceCtx Context) { long LayerId = Context.RequestData.ReadInt64(); diff --git a/Ryujinx.Core/OsHle/Services/Vi/ISystemDisplayService.cs b/Ryujinx.Core/OsHle/Services/Vi/ISystemDisplayService.cs index 02aafebb..3bdeb32a 100644 --- a/Ryujinx.Core/OsHle/Services/Vi/ISystemDisplayService.cs +++ b/Ryujinx.Core/OsHle/Services/Vi/ISystemDisplayService.cs @@ -13,7 +13,8 @@ namespace Ryujinx.Core.OsHle.Services.Vi { m_Commands = new Dictionary<int, ServiceProcessRequest>() { - { 2205, SetLayerZ } + { 2205, SetLayerZ }, + { 2207, SetLayerVisibility } }; } @@ -21,5 +22,10 @@ namespace Ryujinx.Core.OsHle.Services.Vi { return 0; } + + public static long SetLayerVisibility(ServiceCtx Context) + { + return 0; + } } }
\ No newline at end of file |
