1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 12:12:50 +01:00

perf overlay: Don't allow 0 or 1 datapoint count

Doesn't render anyway
This commit is contained in:
Megamouse 2021-03-01 23:05:38 +01:00
parent fa852c7dbe
commit 7c0b93f815

View File

@ -178,8 +178,8 @@ struct cfg_root : cfg::node
cfg::_bool perf_overlay_enabled{ this, "Enabled", false, true };
cfg::_bool framerate_graph_enabled{ this, "Enable Framerate Graph", false, true };
cfg::_bool frametime_graph_enabled{ this, "Enable Frametime Graph", false, true };
cfg::uint<1, 6000> framerate_datapoint_count{ this, "Framerate datapoints", 50, true };
cfg::uint<1, 6000> frametime_datapoint_count{ this, "Frametime datapoints", 170, true };
cfg::uint<2, 6000> framerate_datapoint_count{ this, "Framerate datapoints", 50, true };
cfg::uint<2, 6000> frametime_datapoint_count{ this, "Frametime datapoints", 170, true };
cfg::_enum<detail_level> level{ this, "Detail level", detail_level::medium, true };
cfg::uint<1, 5000> update_interval{ this, "Metrics update interval (ms)", 350, true };
cfg::uint<4, 36> font_size{ this, "Font size (px)", 10, true };