Volume Hotkeys (#3500)
* Initial GTK implementation * Less messy and Avalonia imp * Move clamping to HLE and streamline imps * Make viewmodel update consistent * Fix rebase and add an english locale. Co-authored-by: Mary-nyan <mary@mary.zone>
This commit is contained in:
parent
45ce540b9b
commit
358a781639
9 changed files with 98 additions and 5 deletions
|
@ -124,7 +124,7 @@ namespace Ryujinx.HLE
|
|||
|
||||
public void SetVolume(float volume)
|
||||
{
|
||||
System.SetVolume(volume);
|
||||
System.SetVolume(Math.Clamp(volume, 0, 1));
|
||||
}
|
||||
|
||||
public float GetVolume()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue