BizHawk/BizHawk.Emulation.Cores/Computers/SinclairSpectrum/ZXSpectrum.IInputPollable.cs

30 lines
653 B
C#
Raw Normal View History

2018-06-14 10:31:09 +00:00
using System;
2017-11-23 17:26:15 +00:00
using BizHawk.Emulation.Common;
namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
{
2018-06-14 10:31:09 +00:00
/// <summary>
/// ZXHawk: Core Class
/// * IInputPollable *
/// </summary>
2017-11-23 17:26:15 +00:00
public partial class ZXSpectrum : IInputPollable
{
public int LagCount
{
get { return _lagCount; }
set { _lagCount = value; }
}
public bool IsLagFrame
{
get { return _isLag; }
set { _isLag = value; }
}
public IInputCallbackSystem InputCallbacks { get; }
private int _lagCount = 0;
2018-03-06 17:57:13 +00:00
private bool _isLag = false;
2017-11-23 17:26:15 +00:00
}
}