Start/Stop audio on pause/unpause

This commit is contained in:
andres.delikat 2011-01-11 03:49:30 +00:00
parent 757cecf78b
commit 458d642b20
1 changed files with 2 additions and 0 deletions

View File

@ -400,11 +400,13 @@ namespace BizHawk.MultiClient
{ {
if (EmulatorPaused == true) if (EmulatorPaused == true)
{ {
Global.Sound.StartSound;
EmulatorPaused = false; EmulatorPaused = false;
pauseToolStripMenuItem.Checked = false; pauseToolStripMenuItem.Checked = false;
} }
else else
{ {
Global.Sound.StopSound;
EmulatorPaused = true; EmulatorPaused = true;
pauseToolStripMenuItem.Checked = true; pauseToolStripMenuItem.Checked = true;
} }