Fix Issue 310
This commit is contained in:
parent
099f0518bc
commit
33f52599f8
|
@ -66,16 +66,27 @@ namespace BizHawk.Client.EmuHawk
|
||||||
private void SoundVolNumeric_ValueChanged(object sender, EventArgs e)
|
private void SoundVolNumeric_ValueChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
SoundVolBar.Value = (int)SoundVolNumeric.Value;
|
SoundVolBar.Value = (int)SoundVolNumeric.Value;
|
||||||
|
//This is changed through the user or the Above Scroll Bar
|
||||||
|
//Is it Zero? Mute
|
||||||
|
if (SoundVolBar.Value == 0)
|
||||||
|
{
|
||||||
|
SoundOnCheckBox.Checked = false;
|
||||||
|
}
|
||||||
|
// Not Zero. Unmute
|
||||||
|
else
|
||||||
|
{
|
||||||
|
SoundOnCheckBox.Checked = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SoundOnCheckBox_CheckedChanged(object sender, EventArgs e)
|
private void SoundOnCheckBox_CheckedChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
UpdateSoundDialog();
|
UpdateSoundDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UpdateSoundDialog()
|
private void UpdateSoundDialog()
|
||||||
{
|
{
|
||||||
SoundVolGroup.Enabled =
|
//Ocean Prince commented this out
|
||||||
|
//SoundVolGroup.Enabled =
|
||||||
MuteFrameAdvance.Enabled =
|
MuteFrameAdvance.Enabled =
|
||||||
ThrottlecheckBox.Enabled =
|
ThrottlecheckBox.Enabled =
|
||||||
SoundOnCheckBox.Checked;
|
SoundOnCheckBox.Checked;
|
||||||
|
|
Loading…
Reference in New Issue