Disabled AY chip when memory paging is disabled (i.e. 48k mode)

This commit is contained in:
Asnivor 2018-03-13 20:38:43 +00:00
parent d23dc0a296
commit 6d66eee459
1 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
if (_renderSound)
{
BuzzerDevice.StartFrame();
if (AYDevice != null)
if (AYDevice != null && !PagingDisabled)
AYDevice.StartFrame();
}
@ -157,7 +157,7 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
// update AY
if (_renderSound)
{
if (AYDevice != null && CPU.RegPC != 1523)
if (AYDevice != null && !PagingDisabled)
{
AYDevice.UpdateSound(CurrentFrameCycle);
}