diff options
| author | 2021-07-08 20:58:38 -0400 | |
|---|---|---|
| committer | 2021-07-08 20:58:38 -0400 | |
| commit | 386cd45f07b83824fc539f8a72429ebf73f5daf4 (patch) | |
| tree | c0d9ce6b4c6e0db36fac69ee8fc23b2bcb5f9129 /src/common/settings.cpp | |
| parent | Merge pull request #6539 from lat9nq/default-setting (diff) | |
| download | yuzu-386cd45f07b83824fc539f8a72429ebf73f5daf4.tar.gz yuzu-386cd45f07b83824fc539f8a72429ebf73f5daf4.tar.xz yuzu-386cd45f07b83824fc539f8a72429ebf73f5daf4.zip | |
configure_audio: Use u8 for volume value
Diffstat (limited to 'src/common/settings.cpp')
| -rw-r--r-- | src/common/settings.cpp | 2 |
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() { | |||
| 103 | if (values.audio_muted) { | 103 | if (values.audio_muted) { |
| 104 | return 0.0f; | 104 | return 0.0f; |
| 105 | } | 105 | } |
| 106 | return values.volume.GetValue(); | 106 | return values.volume.GetValue() / 100.0f; |
| 107 | } | 107 | } |
| 108 | 108 | ||
| 109 | void RestoreGlobalState(bool is_powered_on) { | 109 | void RestoreGlobalState(bool is_powered_on) { |