aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Common/GraphicsDriver/NVAPI/NvdrsProfile.cs
diff options
context:
space:
mode:
authorriperiperi <rhy3756547@hotmail.com>2021-04-07 13:19:02 +0100
committerriperiperi <rhy3756547@hotmail.com>2021-04-18 17:34:00 +0100
commit1239c82d2f2fa59a42561a4a278a9cdca5eca462 (patch)
tree2885fc1498de539d9c27878ed9788bb6ecf081c5 /Ryujinx.Common/GraphicsDriver/NVAPI/NvdrsProfile.cs
parentb1c3e01691507709bc4a6a23f02396f3b97803e5 (diff)
Forcibly enable threaded optimization on boot.
Diffstat (limited to 'Ryujinx.Common/GraphicsDriver/NVAPI/NvdrsProfile.cs')
-rw-r--r--Ryujinx.Common/GraphicsDriver/NVAPI/NvdrsProfile.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Ryujinx.Common/GraphicsDriver/NVAPI/NvdrsProfile.cs b/Ryujinx.Common/GraphicsDriver/NVAPI/NvdrsProfile.cs
new file mode 100644
index 00000000..5a325d08
--- /dev/null
+++ b/Ryujinx.Common/GraphicsDriver/NVAPI/NvdrsProfile.cs
@@ -0,0 +1,16 @@
+using System;
+using System.Runtime.InteropServices;
+
+namespace Ryujinx.Common.GraphicsDriver.NVAPI
+{
+ [StructLayout(LayoutKind.Sequential, Pack = 1)]
+ unsafe struct NvdrsProfile
+ {
+ public uint Version;
+ public NvapiUnicodeString ProfileName;
+ public uint GpuSupport;
+ public uint IsPredefined;
+ public uint NumOfApps;
+ public uint NumOfSettings;
+ }
+}