JinxRyu/Ryujinx.HLE/HOS/Services/Friend/ServiceCreator
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
..
FriendService/Types Fix inconsistencies with UserId (#906) 2020-02-02 14:24:17 +11:00
NotificationService friend: Fixes PermissionLevel names (#2185) 2021-04-08 00:42:06 +02:00
Types friend: Fixes PermissionLevel names (#2185) 2021-04-08 00:42:06 +02:00
IDaemonSuspendSessionService.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IFriendService.cs vi: Unify resolutions values and accurate implementation of them. (#2640) 2021-09-19 12:57:39 +02:00
INotificationService.cs Fix disposing of IPC sessions server at emulation stop (#2334) 2021-06-29 19:37:13 +02:00