aboutsummaryrefslogtreecommitdiff
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2022-08-12 16:57:29 +0100
committerKelebek1 <eeeedddccc@hotmail.co.uk>2022-08-12 16:57:29 +0100
commitc92bcde27ec002c7f874b87c73cd103e979164b3 (patch)
tree5c469a7a7809ab3dba67f51f79a5de05b3acc092 /src/common/settings.cpp
parent569beea10741c891738d05cdaf592f2c2417cf4c (diff)
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() {