aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Common/System
diff options
context:
space:
mode:
authorriperiperi <rhy3756547@hotmail.com>2021-05-19 19:26:23 +0100
committerriperiperi <rhy3756547@hotmail.com>2021-05-19 19:26:23 +0100
commit778011c12ae7905173e02665f397a96686863b89 (patch)
tree21429528510b929f0018831eb3567750f954f4df /Ryujinx.Common/System
parent3f126487abc94cacc7ffab59b2a87b270d3cfe15 (diff)
Remove ForceDedicatedGpu, as the driver utilities will now do that.
Diffstat (limited to 'Ryujinx.Common/System')
-rw-r--r--Ryujinx.Common/System/ForceDedicatedGpu.cs16
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