VERY experimental Nintendo Switch 2 emulator
C++
Add manifest
DaMan9a09519e7a81
diff --git a/CMakeLists.txt b/CMakeLists.txtindex ddba04ef93..f8060270ef 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -129,8 +129,8 @@ else()set(CMAKE_C_FLAGS_RELEASE "/O2 /GS- /MD" CACHE STRING "" FORCE)set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}" CACHE STRING "" FORCE)- set(CMAKE_EXE_LINKER_FLAGS_DEBUG "/DEBUG" CACHE STRING "" FORCE)- set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/DEBUG /INCREMENTAL:NO /OPT:REF,ICF" CACHE STRING "" FORCE)+ set(CMAKE_EXE_LINKER_FLAGS_DEBUG "/DEBUG /MANIFEST:NO" CACHE STRING "" FORCE)+ set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/DEBUG /MANIFEST:NO /INCREMENTAL:NO /OPT:REF,ICF" CACHE STRING "" FORCE)endif()# Set file offset size to 64 bits.diff --git a/dist/citra.manifest b/dist/citra.manifestnew file mode 100644index 0000000000..fd30b656ff--- /dev/null+++ b/dist/citra.manifest@@ -0,0 +1,24 @@+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">+ <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">+ <security>+ <requestedPrivileges>+ <requestedExecutionLevel level="asInvoker" uiAccess="false"/>+ </requestedPrivileges>+ </security>+ </trustInfo>+ <application xmlns="urn:schemas-microsoft-com:asm.v3">+ <windowsSettings>+ <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">True/PM</dpiAware>+ <longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>+ </windowsSettings>+ </application>+ <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">+ <application>+ <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>+ <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>+ <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>+ <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>+ </application>+ </compatibility>+</assembly>\ No newline at end of filediff --git a/src/citra/citra.rc b/src/citra/citra.rcindex fea603004a..c490ef302c 100644--- a/src/citra/citra.rc+++ b/src/citra/citra.rc@@ -1,3 +1,4 @@+#include "winresrc.h"///////////////////////////////////////////////////////////////////////////////// Icon@@ -7,3 +8,10 @@// remains consistent on all systems.CITRA_ICON ICON "../../dist/citra.ico"++/////////////////////////////////////////////////////////////////////////////+//+// RT_MANIFEST+//++1 RT_MANIFEST "../../dist/citra.manifest"diff --git a/src/citra_qt/citra-qt.rc b/src/citra_qt/citra-qt.rcindex fea603004a..c490ef302c 100644--- a/src/citra_qt/citra-qt.rc+++ b/src/citra_qt/citra-qt.rc@@ -1,3 +1,4 @@+#include "winresrc.h"///////////////////////////////////////////////////////////////////////////////// Icon@@ -7,3 +8,10 @@// remains consistent on all systems.CITRA_ICON ICON "../../dist/citra.ico"++/////////////////////////////////////////////////////////////////////////////+//+// RT_MANIFEST+//++1 RT_MANIFEST "../../dist/citra.manifest"