Stop and start sound before showing the load named state dialog. Fixes reported 'sound jitter' when using the Loadstate As hotkey.
This commit is contained in:
parent
405af35d72
commit
add74942f7
|
@ -110,8 +110,8 @@ namespace BizHawk.MultiClient
|
||||||
isRunning = true;
|
isRunning = true;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (LuaThread != null)
|
//if (LuaThread != null)
|
||||||
lua.DoFile(F);
|
// lua.DoFile(F);
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1854,7 +1854,10 @@ namespace BizHawk.MultiClient
|
||||||
if (file.Directory.Exists == false)
|
if (file.Directory.Exists == false)
|
||||||
file.Directory.Create();
|
file.Directory.Create();
|
||||||
|
|
||||||
|
Global.Sound.StopSound();
|
||||||
var result = sfd.ShowDialog();
|
var result = sfd.ShowDialog();
|
||||||
|
Global.Sound.StartSound();
|
||||||
|
|
||||||
if (result != DialogResult.OK)
|
if (result != DialogResult.OK)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue