BizHawk/BizHawk.Emulation.Cores/Computers/AppleII/AppleII.IEmulator.cs

37 lines
761 B
C#
Raw Normal View History

2015-03-21 21:45:12 +00:00
using BizHawk.Emulation.Common;
namespace BizHawk.Emulation.Cores.Computers.AppleII
{
public partial class AppleII : IEmulator
{
2017-04-24 13:21:05 +00:00
public IEmulatorServiceProvider ServiceProvider { get; }
2015-03-21 21:45:12 +00:00
2017-04-24 13:21:05 +00:00
public ControllerDefinition ControllerDefinition => AppleIIController;
2015-03-21 21:45:12 +00:00
2017-04-24 13:21:05 +00:00
public int Frame { get; private set; }
2015-03-21 21:45:12 +00:00
2017-04-24 13:21:05 +00:00
public string SystemId => "AppleII";
2015-03-21 21:45:12 +00:00
2017-04-24 13:21:05 +00:00
public bool DeterministicEmulation => true;
2015-03-21 21:45:12 +00:00
public void FrameAdvance(IController controller, bool render, bool rendersound)
2015-03-21 21:45:12 +00:00
{
FrameAdv(controller, render, rendersound);
2015-03-21 21:45:12 +00:00
}
public void ResetCounters()
{
Frame = 0;
LagCount = 0;
IsLagFrame = false;
2015-03-21 21:45:12 +00:00
}
2017-04-24 13:21:05 +00:00
public CoreComm CoreComm { get; }
2015-03-21 21:45:12 +00:00
public void Dispose()
{
_machine.Dispose();
}
}
}