diff --git a/src/CxbxKrnl/CxbxKrnl.cpp b/src/CxbxKrnl/CxbxKrnl.cpp index f5ba84ae4..ebf79cf09 100644 --- a/src/CxbxKrnl/CxbxKrnl.cpp +++ b/src/CxbxKrnl/CxbxKrnl.cpp @@ -36,6 +36,9 @@ #define _XBOXKRNL_DEFEXTRN_ +// Default to High Performance Mode on machines with dual graphics +extern "C" { __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1; // AMD __declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001; // NVIDIA } + /* prevent name collisions */ namespace xboxkrnl {