mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-07 22:36:27 +02:00
UI: Change order of VSync mode changing
VSync -> VSync Off -> Custom is now VSync -> Custom -> VSync Off Note that Custom only appears if it's enabled in settings. This has no change if you aren't using custom VSync.
This commit is contained in:
parent
796674d9cf
commit
359852b5c0
2 changed files with 4 additions and 12 deletions
|
@ -325,21 +325,15 @@ namespace Ryujinx.Ava
|
|||
switch (oldVSyncMode)
|
||||
{
|
||||
case VSyncMode.Switch:
|
||||
newVSyncMode = VSyncMode.Unbounded;
|
||||
newVSyncMode = customVSyncIntervalEnabled
|
||||
? VSyncMode.Custom
|
||||
: VSyncMode.Unbounded;
|
||||
break;
|
||||
case VSyncMode.Unbounded:
|
||||
if (customVSyncIntervalEnabled)
|
||||
{
|
||||
newVSyncMode = VSyncMode.Custom;
|
||||
}
|
||||
else
|
||||
{
|
||||
newVSyncMode = VSyncMode.Switch;
|
||||
}
|
||||
|
||||
break;
|
||||
case VSyncMode.Custom:
|
||||
newVSyncMode = VSyncMode.Switch;
|
||||
newVSyncMode = VSyncMode.Unbounded;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue