mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-08-23 08:36:27 -05:00
Remove ForceDedicatedGpu, as the driver utilities will now do that.
This commit is contained in:
@@ -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 _);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user