diff options
author | bunnei <bunneidev@gmail.com> | 2022-08-12 15:40:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-12 15:40:15 -0700 |
commit | 411e58de28e94dad9460bbb07dfd6a348983202b (patch) | |
tree | 2936076d7a6b197ae318a83292fe51d9eb5c12fa /src/common/settings.cpp | |
parent | cba3b05c94776bebae07b3af0b8d7dcf0516cfff (diff) | |
parent | 85c9e31791a38d895d8d940b900e4bd94e866901 (diff) |
Merge pull request #8756 from Kelebek1/vol
Allow audio volume up to 200%
Diffstat (limited to 'src/common/settings.cpp')
-rw-r--r-- | src/common/settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<f32>(values.volume.GetDefault()); } void UpdateRescalingInfo() { |