namespace BizHawk.Emulation.Common
{
///
/// A generic implementation of ITraceable that can be used by any core
///
///
public class TraceBuffer : ITraceable
{
public string Header { get; set; } = "Instructions";
public ITraceSink Sink { private get; set; }
public bool Enabled => Sink != null;
public void Put(TraceInfo info)
{
Sink.Put(info);
}
}
}