From ede569dab39a18aec618184c320787e266b27bb4 Mon Sep 17 00:00:00 2001 From: alyosha-tas Date: Tue, 29 Aug 2017 09:40:04 -0400 Subject: [PATCH] Delete Atari7800.IEmulator.cs --- .../Atari/7800/Atari7800.IEmulator.cs | 59 ------------------- 1 file changed, 59 deletions(-) delete mode 100644 BizHawk.Emulation.Cores/Consoles/Atari/7800/Atari7800.IEmulator.cs diff --git a/BizHawk.Emulation.Cores/Consoles/Atari/7800/Atari7800.IEmulator.cs b/BizHawk.Emulation.Cores/Consoles/Atari/7800/Atari7800.IEmulator.cs deleted file mode 100644 index dd2093830c..0000000000 --- a/BizHawk.Emulation.Cores/Consoles/Atari/7800/Atari7800.IEmulator.cs +++ /dev/null @@ -1,59 +0,0 @@ -using BizHawk.Emulation.Common; - -namespace BizHawk.Emulation.Cores.Atari.Atari7800 -{ - public partial class Atari7800 : IEmulator - { - public IEmulatorServiceProvider ServiceProvider { get; } - - public ControllerDefinition ControllerDefinition { get; private set; } - - public void FrameAdvance(IController controller, bool render, bool rendersound) - { - _frame++; - - if (controller.IsPressed("Power")) - { - // it seems that theMachine.Reset() doesn't clear ram, etc - // this should leave hsram intact but clear most other things - HardReset(); - } - - ControlAdapter.Convert(controller, _theMachine.InputState); - _theMachine.ComputeNextFrame(_avProvider.Framebuffer); - - _islag = _theMachine.InputState.Lagged; - - if (_islag) - { - _lagcount++; - } - - _avProvider.FillFrameBuffer(); - } - - public int Frame => _frame; - - public string SystemId => "A78"; // TODO 2600? - - public bool DeterministicEmulation { get; set; } - - public void ResetCounters() - { - _frame = 0; - _lagcount = 0; - _islag = false; - } - - public CoreComm CoreComm { get; } - - public void Dispose() - { - if (_avProvider != null) - { - _avProvider.Dispose(); - _avProvider = null; - } - } - } -}