Merge pull request #6579 from ameerj/float-settings

settings: Eliminate usage of float-point setting values
This commit is contained in:
bunnei authored and GitHub committed 2021-07-15 18:03:11 -04:00
commit 3cd3230295
11 files changed
+39 -69

No files matched your search

+1 -1
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) {