summaryrefslogtreecommitdiff
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
commit386cd45f07b83824fc539f8a72429ebf73f5daf4 (patch)
treec0d9ce6b4c6e0db36fac69ee8fc23b2bcb5f9129 /src/common/settings.cpp
parent5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7 (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 0061e29cc..c56d14b81 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) {