1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-09-10 00:06:32 -05:00

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