diff --git a/BizHawk.Client.EmuHawk/Sound/Output/DirectSoundSoundOutput.cs b/BizHawk.Client.EmuHawk/Sound/Output/DirectSoundSoundOutput.cs index 42af277c0e..10e9cef191 100644 --- a/BizHawk.Client.EmuHawk/Sound/Output/DirectSoundSoundOutput.cs +++ b/BizHawk.Client.EmuHawk/Sound/Output/DirectSoundSoundOutput.cs @@ -117,6 +117,8 @@ namespace BizHawk.Client.EmuHawk public int CalculateSamplesNeeded() { + if (_deviceBuffer.Status == BufferStatus.BufferLost) return 0; + long currentWriteTime = Stopwatch.GetTimestamp(); int playCursor = _deviceBuffer.CurrentPlayPosition; int writeCursor = _deviceBuffer.CurrentWritePosition; diff --git a/References/x64/SlimDX.dll b/References/x64/SlimDX.dll index d86ff79dd7..d2818f8ca4 100644 Binary files a/References/x64/SlimDX.dll and b/References/x64/SlimDX.dll differ