From 1239c82d2f2fa59a42561a4a278a9cdca5eca462 Mon Sep 17 00:00:00 2001 From: riperiperi Date: Wed, 7 Apr 2021 13:19:02 +0100 Subject: Forcibly enable threaded optimization on boot. --- Ryujinx.Common/GraphicsDriver/NVAPI/NvdrsProfile.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Ryujinx.Common/GraphicsDriver/NVAPI/NvdrsProfile.cs (limited to 'Ryujinx.Common/GraphicsDriver/NVAPI/NvdrsProfile.cs') 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; + } +} -- cgit v1.2.3