From b25090d96064cf4658c29ef186a609cd841788db Mon Sep 17 00:00:00 2001 From: Kelebek1 Date: Fri, 12 Aug 2022 16:57:29 +0100 Subject: Allow audio volume up to 200% --- src/common/settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/settings.cpp') diff --git a/src/common/settings.cpp b/src/common/settings.cpp index 1c7b6dfae..7282a45d3 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp @@ -105,7 +105,7 @@ float Volume() { if (values.audio_muted) { return 0.0f; } - return values.volume.GetValue() / 100.0f; + return values.volume.GetValue() / static_cast(values.volume.GetDefault()); } void UpdateRescalingInfo() { -- cgit v1.2.3