RyuKen/Ryujinx.HLE/HOS
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
..
Applets hid: Rewrite shared memory management (#2257) 2021-05-02 22:01:30 +02:00
Diagnostics/Demangler Misc cleanup (#708) 2019-07-02 04:39:22 +02:00
Ipc ipc: Remove size checks for buffer type 0x21/0x22 (#2387) 2021-06-22 19:32:22 +02:00
Kernel Implement a "Pause Emulation" option & hotkey (#2428) 2021-09-11 22:08:25 +02:00
Services vi: Unify resolutions values and accurate implementation of them. (#2640) 2021-09-19 12:57:39 +02:00
SystemState aoc: Fixes some inconsistencies (#2434) 2021-07-06 20:17:06 +02:00
Tamper Update TamperMachine and disable write-to-code prevention (#2506) 2021-08-04 22:05:17 +02:00
ApplicationLoader.cs Update to LibHac 0.13.1 (#2475) 2021-08-12 23:56:24 +02:00
ArmProcessContext.cs Initial support for separate GPU address spaces (#2394) 2021-06-29 19:32:02 +02:00
ArmProcessContextFactory.cs Initial support for separate GPU address spaces (#2394) 2021-06-29 19:32:02 +02:00
HomebrewRomFsStream.cs Misc cleanup (#708) 2019-07-02 04:39:22 +02:00
Horizon.cs Fix problems added by Pause (#2645) 2021-09-18 14:31:44 +02:00
IdDictionary.cs Implement GPU syncpoints (#980) 2020-04-19 11:25:57 +10:00
LibHacHorizonManager.cs hos: Cleanup the project (#2634) 2021-09-15 01:24:49 +02:00
ModLoader.cs Update to LibHac 0.13.1 (#2475) 2021-08-12 23:56:24 +02:00
ProgramLoader.cs Update to LibHac 0.13.1 (#2475) 2021-08-12 23:56:24 +02:00
ResultCode.cs Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
ServiceCtx.cs hos: Cleanup the project (#2634) 2021-09-15 01:24:49 +02:00
TamperMachine.cs Update TamperMachine and disable write-to-code prevention (#2506) 2021-08-04 22:05:17 +02:00
UserChannelPersistence.cs Fix exiting emulator with multi programs (#1590) 2020-10-10 00:52:11 +02:00