mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 12:55:45 +00:00
configure_audio: Use u8 for volume value
This commit is contained in:
parent
60e29dd3b0
commit
86e3e8a4a9
4 changed files with 9 additions and 10 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue