diff --git a/src/Ryujinx.Common/GraphicsDriver/NVDriverHelper.cs b/src/Ryujinx.Common/GraphicsDriver/NVDriverHelper.cs index 3a69b5631c2f..6fca3260850d 100644 --- a/src/Ryujinx.Common/GraphicsDriver/NVDriverHelper.cs +++ b/src/Ryujinx.Common/GraphicsDriver/NVDriverHelper.cs @@ -138,7 +138,7 @@ public static void SetControlOption(NvapiSettingId id, bool enabled) { NvapiSettingId.OglThreadControlId => (uint)(enabled ? OglThreadControl.OglThreadControlEnable : OglThreadControl.OglThreadControlDisable), NvapiSettingId.OglCplPreferDxPresentId => (uint)(enabled ? OglCplDxPresent.OglCplPreferDxPresentEnable : OglCplDxPresent.OglCplPreferDxPresentDisable), - _ => throw new ArgumentException(), + _ => throw new ArgumentException($"Invalid NVAPI setting id: {id}"), }; NvdrsSetting setting = new()