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 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
|
public ITraceSink Sink
|
||||||
{
|
{
|
||||||
|
@ -72,7 +78,6 @@ namespace BizHawk.Emulation.Common
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public string Header { get; set; }
|
public string Header { get; set; }
|
||||||
|
|
||||||
public class TracingMemoryCallback : IMemoryCallback
|
public class TracingMemoryCallback : IMemoryCallback
|
||||||
|
|
|
@ -13,7 +13,6 @@ namespace BizHawk.Emulation.Common
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// clears all services from a target
|
/// clears all services from a target
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="target"></param>
|
|
||||||
public static void ClearServices(object target)
|
public static void ClearServices(object target)
|
||||||
{
|
{
|
||||||
Type targetType = target.GetType();
|
Type targetType = target.GetType();
|
||||||
|
@ -64,7 +63,6 @@ namespace BizHawk.Emulation.Common
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
[AttributeUsage(AttributeTargets.Property)]
|
[AttributeUsage(AttributeTargets.Property)]
|
||||||
public class RequiredService : Attribute
|
public class RequiredService : Attribute
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue