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:
@ -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()
|
||||
|
Reference in New Issue
Block a user