From ae39f13d5a8c696aa0f7b955871ab53a0f8c540a Mon Sep 17 00:00:00 2001 From: alyosha-tas Date: Sat, 4 Jun 2016 18:33:41 -0400 Subject: [PATCH] Update for new sound routines Catches cases where sound is not processed. --- BizHawk.Emulation.Cores/Consoles/Atari/2600/Atari2600.Core.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BizHawk.Emulation.Cores/Consoles/Atari/2600/Atari2600.Core.cs b/BizHawk.Emulation.Cores/Consoles/Atari/2600/Atari2600.Core.cs index f9527c215c..1aeaed6933 100644 --- a/BizHawk.Emulation.Cores/Consoles/Atari/2600/Atari2600.Core.cs +++ b/BizHawk.Emulation.Cores/Consoles/Atari/2600/Atari2600.Core.cs @@ -363,6 +363,8 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600 StartFrameCond(); while (_tia.LineCount < _tia.NominalNumScanlines) Cycle(); + if (rendersound==false) + _tia._audioClocks = 0; // we need this here since the async sound provider won't check in this case FinishFrameCond(); }