Explorar el Código

settings: Allow vsync to be changed per-game

t895 hace 2 años
padre
commit
6c6e8b8de0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/common/settings.h

+ 1 - 1
src/common/settings.h

@@ -256,7 +256,7 @@ struct Values {
                                                             AstcDecodeMode::CpuAsynchronous,
                                                             "accelerate_astc",
                                                             Category::Renderer};
-    Setting<VSyncMode, true> vsync_mode{
+    SwitchableSetting<VSyncMode, true> vsync_mode{
         linkage,     VSyncMode::Fifo,    VSyncMode::Immediate,        VSyncMode::FifoRelaxed,
         "use_vsync", Category::Renderer, Specialization::RuntimeList, true,
         true};