mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-26 07:39:52 -06: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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user