aboutsummaryrefslogtreecommitdiff
path: root/Hacks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Hacks.cpp')
-rw-r--r--Hacks.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Hacks.cpp b/Hacks.cpp
new file mode 100644
index 00000000..3c3d8191
--- /dev/null
+++ b/Hacks.cpp
@@ -0,0 +1,8 @@
+#include "MultiMC.h"
+
+#ifdef Q_OS_WIN32
+extern "C"
+{
+__declspec(dllexport) uint32_t NvOptimusEnablement = 0x00000001;
+}
+#endif