From 415fda2373c96bf9ad3f93e0046c6fbd5923c2d0 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 6 Dec 2014 16:28:42 +0000 Subject: [PATCH] Debugger - on close, turn off trace logging --- BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.cs b/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.cs index 9662511291..7f241d5ba3 100644 --- a/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.cs +++ b/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.cs @@ -87,6 +87,11 @@ namespace BizHawk.Client.EmuHawk { SaveConfigSettings(); + if (Core.CpuTraceAvailable()) + { + Core.Tracer.Enabled = false; + } + BreakPointControl1.Shutdown(); }