0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2024-12-27 18:15:46 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy
Ac_K 40d1acd198
vi: Unify resolutions values and accurate implementation of them. (#2640)
* vi: Unify resolutions values and accurate implementation of them.

To continue what was made in #2618, I've REd `vi` service a bit. Now values and checks related to displays are more accurate.

- `am`  GetDefaultDisplayResolution / GetDefaultDisplayResolutionChangeEvent have more informations on what the service does.
- `vi:u/vi:m/vi:s` GetDisplayService are now accurate.
- `IApplicationDisplay` GetRelayService, GetSystemDisplayService, GetManagerDisplayService, GetIndirectDisplayTransactionService, ListDisplays, OpenDisplay, OpenDefaultDisplay, CloseDisplay, GetDisplayResolution are now properly implemented.
- Some other calls are cleaned or have extra checks accordingly to RE.

Additionnaly, `IFriendService` have some wrong aligned things, and `pm:info` service placeholder was missing.

* just use _openedDisplayInfo.Remove()

* use context.Memory.Fill()

* fix some casting

* remove unneeded comment

* cleanup

* uses TryAdd

* displayId > ulong

* GetDisplayResolution > ulong

* UL
2021-09-19 12:57:39 +02:00
..
Types am: Add all known AppletMessage (#2378) 2021-06-21 13:41:37 -03:00
IAppletCommonFunctions.cs no name: Mii Editor applet support (#2419) 2021-06-28 20:54:45 +02:00
IApplicationCreator.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IAudioController.cs Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
ICommonStateGetter.cs vi: Unify resolutions values and accurate implementation of them. (#2640) 2021-09-19 12:57:39 +02:00
IDebugFunctions.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IDisplayController.cs no name: Mii Editor applet support (#2419) 2021-06-28 20:54:45 +02:00
IGlobalStateController.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IHomeMenuFunctions.cs Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
ILibraryAppletCreator.cs Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
ISelfController.cs aoc/am: Cleanup aoc service and stub am calls (#2414) 2021-06-29 18:57:06 +02:00
IWindowController.cs Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00