interface Rewinder
This commit is contained in:
parent
e66e53c15d
commit
018bed9422
|
@ -4,7 +4,22 @@ using BizHawk.Emulation.Common;
|
|||
|
||||
namespace BizHawk.Client.Common
|
||||
{
|
||||
public class Rewinder : IDisposable
|
||||
public interface IRewinder : IDisposable
|
||||
{
|
||||
int Count { get; }
|
||||
bool HasBuffer { get; }
|
||||
float FullnessRatio { get; }
|
||||
long Size { get; }
|
||||
int RewindFrequency { get; }
|
||||
|
||||
bool RewindActive { get; }
|
||||
bool SuspendRewind { get; set; }
|
||||
|
||||
void Capture(int frame);
|
||||
bool Rewind(int frames);
|
||||
}
|
||||
|
||||
public class Rewinder : IRewinder
|
||||
{
|
||||
private readonly IStatable _statableCore;
|
||||
|
||||
|
|
|
@ -896,7 +896,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
private Sound Sound => GlobalWin.Sound;
|
||||
public CheatCollection CheatList => GlobalWin.CheatList;
|
||||
|
||||
public Rewinder Rewinder { get; set; }
|
||||
public IRewinder Rewinder { get; set; }
|
||||
|
||||
private FirmwareManager FirmwareManager => GlobalWin.FirmwareManager;
|
||||
|
||||
|
|
Loading…
Reference in New Issue