diff options
| author | Thomas Guillemard <thog@protonmail.com> | 2019-01-05 22:26:16 +0100 |
|---|---|---|
| committer | Ac_K <Acoustik666@gmail.com> | 2019-01-05 22:26:16 +0100 |
| commit | b4d91402c676035cf574983148c2d8682b3cf6f3 (patch) | |
| tree | 9d7acea69d148031c9afa6f92c5d091836348ddd /Ryujinx.HLE/HOS/Services/Vi/ISystemDisplayService.cs | |
| parent | 290f5e812e68e47d95aba0cc3789a4bc6d04c7ce (diff) | |
Some improvements for nvnflinger (#555)
* Initial fixes for last release of libnx
For now, the framebuffer aren't okay but it will not crash/
* Improve code reaadability in NvFlinger parsing
* Make surfaces access more userfriendly
* Add ColorFormat
* Fix code style in ColorFormat.cs
* Add multiple framebuffer support in nvnflinger
This fix libnx console rendering
* Move ReadStruct/WriteStruct to Ryujinx.Common
* fix the last nit
* Fix inverted color for R5G6B5
Also add some other format that libnx might uses.
* Remove hardcoded BlockHeight in nvflinger
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Vi/ISystemDisplayService.cs')
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Vi/ISystemDisplayService.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Vi/ISystemDisplayService.cs b/Ryujinx.HLE/HOS/Services/Vi/ISystemDisplayService.cs index 5266a253..070277ff 100644 --- a/Ryujinx.HLE/HOS/Services/Vi/ISystemDisplayService.cs +++ b/Ryujinx.HLE/HOS/Services/Vi/ISystemDisplayService.cs @@ -10,13 +10,14 @@ namespace Ryujinx.HLE.HOS.Services.Vi public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands; - public ISystemDisplayService() + public ISystemDisplayService(IApplicationDisplayService applicationDisplayService) { _commands = new Dictionary<int, ServiceProcessRequest> { - { 2205, SetLayerZ }, - { 2207, SetLayerVisibility }, - { 3200, GetDisplayMode } + { 2205, SetLayerZ }, + { 2207, SetLayerVisibility }, + { 2312, applicationDisplayService.CreateStrayLayer }, + { 3200, GetDisplayMode } }; } |
