From 7c0b93f8150a47e57bd7674dd0ea019c85b3c83d Mon Sep 17 00:00:00 2001 From: Megamouse Date: Mon, 1 Mar 2021 23:05:38 +0100 Subject: [PATCH] perf overlay: Don't allow 0 or 1 datapoint count Doesn't render anyway --- rpcs3/Emu/system_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/system_config.h b/rpcs3/Emu/system_config.h index 6400849a93..bfbfb67e56 100644 --- a/rpcs3/Emu/system_config.h +++ b/rpcs3/Emu/system_config.h @@ -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 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 };