diff options
| author | 2021-07-15 18:03:11 -0400 | |
|---|---|---|
| committer | 2021-07-15 18:03:11 -0400 | |
| commit | 3cd3230295a4752c57df1364bc14b17ffdcde762 (patch) | |
| tree | d94ce6ea5cf9d5d7ff384454ffe7203bd31774c8 /src/common/settings.cpp | |
| parent | Merge pull request #6635 from ameerj/intel-vk-sm3dw (diff) | |
| parent | configure_input: Use u8 for mouse sensitivity (diff) | |
| download | yuzu-3cd3230295a4752c57df1364bc14b17ffdcde762.tar.gz yuzu-3cd3230295a4752c57df1364bc14b17ffdcde762.tar.xz yuzu-3cd3230295a4752c57df1364bc14b17ffdcde762.zip | |
Merge pull request #6579 from ameerj/float-settings
settings: Eliminate usage of float-point setting values
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 e1973af85..bf5514386 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) { |