From 9ae3916166488136948172964388f562cca2c548 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 4 Dec 2016 12:40:26 -0600 Subject: [PATCH] Debugger - remove a usage of Global.Emulator and a TODO --- BizHawk.Client.EmuHawk/tools/Debugger/BreakpointControl.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BizHawk.Client.EmuHawk/tools/Debugger/BreakpointControl.cs b/BizHawk.Client.EmuHawk/tools/Debugger/BreakpointControl.cs index d9a07b2904..31271639f2 100644 --- a/BizHawk.Client.EmuHawk/tools/Debugger/BreakpointControl.cs +++ b/BizHawk.Client.EmuHawk/tools/Debugger/BreakpointControl.cs @@ -332,8 +332,7 @@ namespace BizHawk.Client.EmuHawk.tools.Debugger var b = new AddBreakpointDialog(operation) { - // TODO: don't use Global.Emulator! Pass in an IMemoryDomains implementation from the parent tool - MaxAddressSize = Global.Emulator.AsMemoryDomains().SystemBus.Size - 1 + MaxAddressSize = MemoryDomains.SystemBus.Size - 1 }; if (type != null)