nvflinger: Add toggle to disable buffer swap interval limits

Enabling this setting will allow some titles to present more frames to
the screen as they become available in the nvflinger buffer queue.
This commit is contained in:
ameerj 2021-06-16 12:54:52 -04:00
parent abb0124b84
commit 3522fc019c
8 changed files with 38 additions and 0 deletions

View file

@ -443,6 +443,8 @@ void Config::ReadValues() {
sdl2_config->GetBoolean("Renderer", "use_asynchronous_gpu_emulation", true));
Settings::values.use_vsync.SetValue(
static_cast<u16>(sdl2_config->GetInteger("Renderer", "use_vsync", 1)));
Settings::values.disable_fps_limit.SetValue(
sdl2_config->GetBoolean("Renderer", "disable_fps_limit", false));
Settings::values.use_assembly_shaders.SetValue(
sdl2_config->GetBoolean("Renderer", "use_assembly_shaders", true));
Settings::values.use_asynchronous_shaders.SetValue(