From 05f927dc0f3e1587089c787a2f7736a1c0d057c0 Mon Sep 17 00:00:00 2001 From: "NGnius (Graham)" Date: Mon, 4 Sep 2023 17:49:25 -0400 Subject: [PATCH] Fix Deck CPU min clock min value being saved and shown in UI with clamped value --- backend/src/settings/steam_deck/cpu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/settings/steam_deck/cpu.rs b/backend/src/settings/steam_deck/cpu.rs index 4bea66c..c6ac04e 100644 --- a/backend/src/settings/steam_deck/cpu.rs +++ b/backend/src/settings/steam_deck/cpu.rs @@ -493,7 +493,7 @@ impl Cpu { if let Some(clock_limits) = &mut self.clock_limits { if let Some(min) = clock_limits.min { clock_limits.min = - Some(min.clamp(self.limits.clock_min.min, self.limits.clock_min.max)); + Some(min.clamp(self.limits.clock_max.min, self.limits.clock_min.max)); } if let Some(max) = clock_limits.max { clock_limits.max =