mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-27 02:53:04 +00:00
Add message to ArgumentException
This commit is contained in:
parent
190791a1c9
commit
32628bb8a3
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ namespace Ryujinx.Common.GraphicsDriver
|
|||
{
|
||||
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()
|
||||
|
|
Loading…
Reference in a new issue