Merge pull request #6579 from ameerj/float-settings

settings: Eliminate usage of float-point setting values
This commit is contained in:
bunnei 2021-07-15 18:03:11 -04:00 committed by GitHub
commit 3cd3230295
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 39 additions and 69 deletions

View file

@ -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) {