diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-06-02 14:02:28 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-06-02 14:03:11 +0200 |
commit | 78d486e147517da61be9dc6b6acdbb91b0de353c (patch) | |
tree | c6a02398ed2d85b46b6096649f420b9c710418ba /src/main.cpp | |
parent | cc211130132a21c2e86ada63ea13cddcbe550ddb (diff) |
Replace manual config set/get with a list of configs
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 934d62c..0df7c96 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3175,7 +3175,9 @@ static void load_config(const gpu_info &gpu_inf) { if(config.main_config.record_area_height == 0) config.main_config.record_area_height = 1080; - if(config.main_config.fps < 1) + if(config.main_config.fps == 0) + config.main_config.fps = 60; + else if(config.main_config.fps < 1) config.main_config.fps = 1; else if(config.main_config.fps > 5000) config.main_config.fps = 5000; |