0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2024-12-22 22:45:46 +00:00
Ryujinx/Ryujinx.Common
sharmander d5081e3f93
Make windows DPI aware to display properly on high-resolution screens. (#1983)
* Make Windows DPI aware to display properly on high-resolution screens.

* remove empty line

* Don't use app manifest, set process dpi aware programatically.

Store variables in Program.cs for use instead of re-creating them per class/ method.

* Fix for linux/osx

* Add braces

* Re-use manifest. It appears to be required on linux.

* Undo previous commit -- it appears linux was simply never affected.

* Addressed AcK's comments

* Remove unused usings

* Address comments by AcK #2

* Re-order

* Move FromHwnd call to ForceDpiAware class. Wrap in Try-Catch to prevent crashes on systems that don't support it.

* Additional code cleanup

* Remove "global::" reference.
2021-02-20 01:34:41 +01:00
..
Collections GPU - Improve Memory Allocation (#1722) 2020-12-09 19:26:05 -03:00
Configuration Hide Cursor On Idle (#1993) 2021-02-15 22:48:21 +01:00
Extensions PrntStub: Add a way to print arrays (#711) 2019-06-27 13:11:51 +02:00
Logging ngct: Fix services and stub calls (#1756) 2020-12-10 03:08:28 +01:00
Memory Silence several build warnings (#1428) 2020-08-06 23:40:41 +02:00
Pools Misc cleanup (#708) 2019-07-02 04:39:22 +02:00
System Make windows DPI aware to display properly on high-resolution screens. (#1983) 2021-02-20 01:34:41 +01:00
SystemInfo common: Fix last warning in SystemInfo (#1757) 2020-12-01 22:26:00 +01:00
Utilities Correct type of executable sizes (#1802) 2020-12-13 08:30:27 +01:00
AsyncWorkQueue.cs New NVDEC and VIC implementation (#1384) 2020-07-12 05:07:01 +02:00
Hash128.cs Salieri: shader cache (#1701) 2020-11-13 00:15:34 +01:00
PerformanceCounter.cs Rewrite scheduler context switch code (#1786) 2020-12-09 19:20:05 -03:00
ReactiveObject.cs Fix ReactiveObject initial event not being propagated with boolean types (#860) 2020-01-05 17:35:55 +01:00
ReferenceEqualityComparer.cs Only enumerate cached textures that are modified when flushing. (#918) 2020-02-07 08:49:26 +11:00
Ryujinx.Common.csproj Make windows DPI aware to display properly on high-resolution screens. (#1983) 2021-02-20 01:34:41 +01:00
XXHash128.cs Improvements with new .NET 5 functions or bugfixes (#1714) 2020-11-18 19:28:40 +01:00