configure_audio: Use u8 for volume value
This commit is contained in:
1 parent
5edc96f4a4
commit
386cd45f07
4 files changed
+9
-10
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user