aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Common/Ryujinx.Common.csproj
diff options
context:
space:
mode:
authorsharmander <saldabain.dev@gmail.com>2021-02-19 19:34:41 -0500
committerGitHub <noreply@github.com>2021-02-20 01:34:41 +0100
commitd5081e3f93a3283ca7e73358d24d76d110ea962f (patch)
tree32edbbcab8a51e25b5b1a35a35976295ba56de03 /Ryujinx.Common/Ryujinx.Common.csproj
parent65eb9901f17f210aab467eabfc090c872c08755a (diff)
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.
Diffstat (limited to 'Ryujinx.Common/Ryujinx.Common.csproj')
-rw-r--r--Ryujinx.Common/Ryujinx.Common.csproj1
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.Common/Ryujinx.Common.csproj b/Ryujinx.Common/Ryujinx.Common.csproj
index 4bb52c6d..a7e9c66c 100644
--- a/Ryujinx.Common/Ryujinx.Common.csproj
+++ b/Ryujinx.Common/Ryujinx.Common.csproj
@@ -7,6 +7,7 @@
<ItemGroup>
<PackageReference Include="MsgPack.Cli" Version="1.0.1" />
+ <PackageReference Include="System.Drawing.Common" Version="5.0.1" />
<PackageReference Include="System.Management" Version="5.0.0" />
</ItemGroup>