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;
|
||||
try
|
||||
{
|
||||
if (LuaThread != null)
|
||||
lua.DoFile(F);
|
||||
//if (LuaThread != null)
|
||||
// lua.DoFile(F);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
|
@ -1854,7 +1854,10 @@ namespace BizHawk.MultiClient
|
|||
if (file.Directory.Exists == false)
|
||||
file.Directory.Create();
|
||||
|
||||
Global.Sound.StopSound();
|
||||
var result = sfd.ShowDialog();
|
||||
Global.Sound.StartSound();
|
||||
|
||||
if (result != DialogResult.OK)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue