Fix audio buffer looping on drag-and-drop
This commit is contained in:
parent
9e514dcebd
commit
d02a8df549
|
@ -3227,6 +3227,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
|
|
||||||
private void FormDragDrop(object sender, DragEventArgs e)
|
private void FormDragDrop(object sender, DragEventArgs e)
|
||||||
{
|
{
|
||||||
|
Sound.StopSound();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
FormDragDrop_internal(e);
|
FormDragDrop_internal(e);
|
||||||
|
@ -3235,6 +3236,10 @@ namespace BizHawk.Client.EmuHawk
|
||||||
{
|
{
|
||||||
MessageBox.Show($"Exception on drag and drop:\n{ex}");
|
MessageBox.Show($"Exception on drag and drop:\n{ex}");
|
||||||
}
|
}
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
Sound.StartSound();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
Loading…
Reference in New Issue