From 6217276681b7fb7905235958e01ab8788c53616c Mon Sep 17 00:00:00 2001 From: Exzap <13877693+Exzap@users.noreply.github.com> Date: Thu, 28 Sep 2023 10:02:12 +0200 Subject: [PATCH] Enable DPI awareness on Windows --- dist/windows/Cemu.manifest | 16 ++++++++++++++++ src/CMakeLists.txt | 5 +++-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 dist/windows/Cemu.manifest diff --git a/dist/windows/Cemu.manifest b/dist/windows/Cemu.manifest new file mode 100644 index 00000000..5ff952b1 --- /dev/null +++ b/dist/windows/Cemu.manifest @@ -0,0 +1,16 @@ + + + + + + + + + + + + + True/PM + + + \ No newline at end of file diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a343f5a3..00a43a80 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -59,7 +59,8 @@ add_executable(CemuBin if(WIN32) target_sources(CemuBin PRIVATE resource/cemu.rc -) + ../dist/windows/cemu.manifest + ) endif() set_property(TARGET CemuBin PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") @@ -77,7 +78,7 @@ if (MACOS_BUNDLE) set(MACOSX_BUNDLE_BUNDLE_NAME "Cemu") set(MACOSX_BUNDLE_SHORT_VERSION_STRING ${CMAKE_PROJECT_VERSION}) set(MACOSX_BUNDLE_BUNDLE_VERSION ${CMAKE_PROJECT_VERSION}) - set(MACOSX_BUNDLE_COPYRIGHT "Copyright © 2022 Cemu Project") + set(MACOSX_BUNDLE_COPYRIGHT "Copyright © 2023 Cemu Project") set(MACOSX_BUNDLE_CATEGORY "public.app-category.games")