summaryrefslogtreecommitdiff
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2022-08-12 15:40:15 -0700
committerGravatar GitHub2022-08-12 15:40:15 -0700
commit411e58de28e94dad9460bbb07dfd6a348983202b (patch)
tree2936076d7a6b197ae318a83292fe51d9eb5c12fa /src/common/settings.cpp
parentMerge pull request #8755 from Morph1984/delimit-ips (diff)
parentDo some log memes to help perceived volume (diff)
downloadyuzu-411e58de28e94dad9460bbb07dfd6a348983202b.tar.gz
yuzu-411e58de28e94dad9460bbb07dfd6a348983202b.tar.xz
yuzu-411e58de28e94dad9460bbb07dfd6a348983202b.zip
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 1c7b6dfae..7282a45d3 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -105,7 +105,7 @@ float Volume() {
105 if (values.audio_muted) { 105 if (values.audio_muted) {
106 return 0.0f; 106 return 0.0f;
107 } 107 }
108 return values.volume.GetValue() / 100.0f; 108 return values.volume.GetValue() / static_cast<f32>(values.volume.GetDefault());
109} 109}
110 110
111void UpdateRescalingInfo() { 111void UpdateRescalingInfo() {