diff options
Diffstat (limited to 'Ryujinx.Common/System/ForceDedicatedGpu.cs')
| -rw-r--r-- | Ryujinx.Common/System/ForceDedicatedGpu.cs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Ryujinx.Common/System/ForceDedicatedGpu.cs b/Ryujinx.Common/System/ForceDedicatedGpu.cs deleted file mode 100644 index 60272f1a..00000000 --- a/Ryujinx.Common/System/ForceDedicatedGpu.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System.Runtime.InteropServices; - -namespace Ryujinx.Common.System -{ - public static class ForceDedicatedGpu - { - public static void Nvidia() - { - if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) - { - // NOTE: If the DLL exists, we can load it to force the usage of the dedicated Nvidia Gpu. - NativeLibrary.TryLoad("nvapi64.dll", out _); - } - } - } -}
\ No newline at end of file |
