Remove LoadTraceLogger() from ToolManager since it was simply a wrapper to manage availability logic, most of those types of properties should be removed now
This commit is contained in:
parent
e214706e4c
commit
685756ea8e
|
@ -1149,7 +1149,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void TraceLoggerMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
GlobalWin.Tools.LoadTraceLogger();
|
||||
GlobalWin.Tools.Load<TraceLogger>();
|
||||
}
|
||||
|
||||
private void DebuggerMenuItem_Click(object sender, EventArgs e)
|
||||
|
|
|
@ -300,7 +300,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
GlobalWin.Tools.Load<HexEditor>();
|
||||
break;
|
||||
case "Trace Logger":
|
||||
GlobalWin.Tools.LoadTraceLogger();
|
||||
GlobalWin.Tools.Load<TraceLogger>();
|
||||
break;
|
||||
case "Lua Console":
|
||||
OpenLuaConsole();
|
||||
|
|
|
@ -449,7 +449,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
if (Global.Config.TraceLoggerAutoLoad)
|
||||
{
|
||||
GlobalWin.Tools.LoadTraceLogger();
|
||||
GlobalWin.Tools.Load<TraceLogger>();
|
||||
}
|
||||
|
||||
if (Global.Config.GenericDebuggerAutoload)
|
||||
|
|
|
@ -211,7 +211,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
)]
|
||||
public static void OpenTraceLogger()
|
||||
{
|
||||
GlobalWin.Tools.LoadTraceLogger();
|
||||
GlobalWin.Tools.Load<TraceLogger>();
|
||||
}
|
||||
|
||||
[LuaMethodAttributes(
|
||||
|
|
|
@ -557,14 +557,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
}
|
||||
|
||||
public void LoadTraceLogger()
|
||||
{
|
||||
if (Global.Emulator.CpuTraceAvailable())
|
||||
{
|
||||
Load<TraceLogger>();
|
||||
}
|
||||
}
|
||||
|
||||
public void LoadGameGenieEc()
|
||||
{
|
||||
if (Global.Emulator.SystemId == "NES")
|
||||
|
|
Loading…
Reference in New Issue