Allow audio volume up to 200%

This commit is contained in:
Kelebek1 2022-08-12 16:57:29 +01:00
parent e8a59a6931
commit b25090d960
4 changed files with 7 additions and 9 deletions

View file

@ -105,7 +105,7 @@ float Volume() {
if (values.audio_muted) {
return 0.0f;
}
return values.volume.GetValue() / 100.0f;
return values.volume.GetValue() / static_cast<f32>(values.volume.GetDefault());
}
void UpdateRescalingInfo() {