a few nitpick cleanups
This commit is contained in:
parent
8e4142e839
commit
adb7af2134
|
@ -48,11 +48,17 @@ namespace BizHawk.Emulation.Common
|
|||
|
||||
public abstract void TraceFromCallback();
|
||||
|
||||
public ITraceSink _sink;
|
||||
private ITraceSink _sink;
|
||||
|
||||
public bool Enabled { get { return Sink != null; } }
|
||||
public bool Enabled
|
||||
{
|
||||
get { return Sink != null; }
|
||||
}
|
||||
|
||||
public void Put(TraceInfo info) { Sink.Put(info); }
|
||||
public void Put(TraceInfo info)
|
||||
{
|
||||
Sink.Put(info);
|
||||
}
|
||||
|
||||
public ITraceSink Sink
|
||||
{
|
||||
|
@ -72,7 +78,6 @@ namespace BizHawk.Emulation.Common
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
public string Header { get; set; }
|
||||
|
||||
public class TracingMemoryCallback : IMemoryCallback
|
||||
|
|
|
@ -13,7 +13,6 @@ namespace BizHawk.Emulation.Common
|
|||
/// <summary>
|
||||
/// clears all services from a target
|
||||
/// </summary>
|
||||
/// <param name="target"></param>
|
||||
public static void ClearServices(object target)
|
||||
{
|
||||
Type targetType = target.GetType();
|
||||
|
@ -64,7 +63,6 @@ namespace BizHawk.Emulation.Common
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
[AttributeUsage(AttributeTargets.Property)]
|
||||
public class RequiredService : Attribute
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue