Browse Source

Xbox NXDK: Default vsync to false and hide option

Looks like vsync doesn't work on NXDK at the moment.

Defaults it to false and hides it from the menu.

It is still possible to manually enable it via `diablo.ini` for testing.
pull/4917/merge
Gleb Mazovetskiy 4 years ago
parent
commit
0a64ae3b6b
  1. 15
      Source/options.cpp

15
Source/options.cpp

@ -896,7 +896,20 @@ GraphicsOptions::GraphicsOptions()
{ ScalingQuality::AnisotropicFiltering, N_("Anisotropic") },
})
, integerScaling("Integer Scaling", OptionEntryFlags::CantChangeInGame | OptionEntryFlags::RecreateUI, N_("Integer Scaling"), N_("Scales the image using whole number pixel ratio."), false)
, vSync("Vertical Sync", OptionEntryFlags::RecreateUI, N_("Vertical Sync"), N_("Forces waiting for Vertical Sync. Prevents tearing effect when drawing a frame. Disabling it can help with mouse lag on some systems."), true)
, vSync("Vertical Sync",
OptionEntryFlags::RecreateUI
#ifdef NXDK
| OptionEntryFlags::Invisible
#endif
,
N_("Vertical Sync"),
N_("Forces waiting for Vertical Sync. Prevents tearing effect when drawing a frame. Disabling it can help with mouse lag on some systems."),
#ifdef NXDK
false
#else
true
#endif
)
#endif
, gammaCorrection("Gamma Correction", OptionEntryFlags::Invisible, "Gamma Correction", "Gamma correction level.", 100)
, colorCycling("Color Cycling", OptionEntryFlags::None, N_("Color Cycling"), N_("Color cycling effect used for water, lava, and acid animation."), true)

Loading…
Cancel
Save