37 lines
760 B
C#
37 lines
760 B
C#
using BizHawk.Emulation.Common;
|
|
|
|
namespace BizHawk.Emulation.Cores.Computers.AppleII
|
|
{
|
|
public partial class AppleII : IEmulator
|
|
{
|
|
public IEmulatorServiceProvider ServiceProvider { get; }
|
|
|
|
public ControllerDefinition ControllerDefinition => AppleIIController;
|
|
|
|
private int _frame;
|
|
public int Frame { get => _frame; set => _frame = value; }
|
|
|
|
public string SystemId => "AppleII";
|
|
|
|
public bool DeterministicEmulation => true;
|
|
|
|
public bool FrameAdvance(IController controller, bool render, bool renderSound)
|
|
{
|
|
FrameAdv(controller, render, renderSound);
|
|
|
|
return true;
|
|
}
|
|
|
|
public void ResetCounters()
|
|
{
|
|
Frame = 0;
|
|
LagCount = 0;
|
|
IsLagFrame = false;
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
}
|
|
}
|
|
}
|