ZXHawk: Missed rendercycle call on 128k border OUT

This commit is contained in:
Asnivor 2018-06-07 16:40:48 +01:00
parent 7ad65bd96e
commit 83bbb83c64
1 changed files with 5 additions and 1 deletions

View File

@ -127,7 +127,11 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
*/
// Border - LSB 3 bits hold the border colour
ULADevice.BorderColor = value & BORDER_BIT;
if (ULADevice.BorderColor != (value & BORDER_BIT))
{
ULADevice.RenderScreen((int)CurrentFrameCycle);
ULADevice.BorderColor = value & BORDER_BIT;
}
// Buzzer
BuzzerDevice.ProcessPulseValue((value & EAR_BIT) != 0);