ZXHawk: fixed render bool implementation (frameskip)
This commit is contained in:
parent
3e495e3a28
commit
6476b6739a
|
@ -183,10 +183,6 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
|
|||
// we have reached the end of a frame
|
||||
LastFrameStartCPUTick = CPU.TotalExecutedCycles - OverFlow;
|
||||
|
||||
// paint the buffer at end of frame
|
||||
if (_render)
|
||||
ULADevice.RenderScreen(ULADevice.FrameLength);
|
||||
|
||||
ULADevice.LastTState = 0;
|
||||
|
||||
if (AYDevice != null)
|
||||
|
|
|
@ -141,7 +141,8 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
|
|||
public virtual void CycleClock(long totalCycles)
|
||||
{
|
||||
// render the screen
|
||||
RenderScreen((int)_machine.CurrentFrameCycle);
|
||||
if (_machine._render)
|
||||
RenderScreen((int)_machine.CurrentFrameCycle);
|
||||
|
||||
// has more than one cycle past since this last ran
|
||||
// (this can be true if contention has taken place)
|
||||
|
|
Loading…
Reference in New Issue