From f1deb41e2a42bb9a6cb65c8ccea501d6a310b4fa Mon Sep 17 00:00:00 2001 From: feos Date: Mon, 22 Feb 2016 18:01:39 +0300 Subject: [PATCH] better check for callbacks availability in GenericDebugger. --- BizHawk.Client.EmuHawk/tools/Debugger/BreakpointControl.cs | 2 +- .../tools/Debugger/GenericDebugger.IToolForm.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BizHawk.Client.EmuHawk/tools/Debugger/BreakpointControl.cs b/BizHawk.Client.EmuHawk/tools/Debugger/BreakpointControl.cs index f08317eb36..8abdad06b3 100644 --- a/BizHawk.Client.EmuHawk/tools/Debugger/BreakpointControl.cs +++ b/BizHawk.Client.EmuHawk/tools/Debugger/BreakpointControl.cs @@ -43,7 +43,7 @@ namespace BizHawk.Client.EmuHawk.tools.Debugger switch (column) { case 0: - text = string.Format("{0:X4}", Breakpoints[index].Address); + text = string.Format("{0:X}", Breakpoints[index].Address); break; case 1: text = Breakpoints[index].Type.ToString(); diff --git a/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.IToolForm.cs b/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.IToolForm.cs index 47a6a855fa..fe29a6f131 100644 --- a/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.IToolForm.cs +++ b/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.IToolForm.cs @@ -36,7 +36,7 @@ namespace BizHawk.Client.EmuHawk { try { - var result = Debuggable.MemoryCallbacks.HasReads; + var result = Debuggable.MemoryCallbacksAvailable(); return true; } catch (NotImplementedException)