aboutsummaryrefslogtreecommitdiff
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-08-12 15:40:15 -0700
committerGitHub <noreply@github.com>2022-08-12 15:40:15 -0700
commitad2ee48ae2917a5963752b7a83c52b5c83eaa723 (patch)
tree2936076d7a6b197ae318a83292fe51d9eb5c12fa /src/common/settings.cpp
parente8160eb639e78d792436341e3490d837d299b303 (diff)
parent26353451bea77402ff5ecefbf1edb1772948bd94 (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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 1c7b6dfae6..7282a45d32 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() {