aboutsummaryrefslogtreecommitdiff
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-07-08 20:58:38 -0400
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-08 20:58:38 -0400
commit86e3e8a4a9bbae59ef5cd9c7626b026f275d58a0 (patch)
treec0d9ce6b4c6e0db36fac69ee8fc23b2bcb5f9129 /src/common/settings.cpp
parent60e29dd3b0b2f2e4ce4896b9a2d9172ba1db7847 (diff)
configure_audio: Use u8 for volume value
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 0061e29cca..c56d14b818 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -103,7 +103,7 @@ float Volume() {
if (values.audio_muted) {
return 0.0f;
}
- return values.volume.GetValue();
+ return values.volume.GetValue() / 100.0f;
}
void RestoreGlobalState(bool is_powered_on) {