Debugger - remove a usage of Global.Emulator and a TODO

This commit is contained in:
adelikat 2016-12-04 12:40:26 -06:00
parent e99bc9ba41
commit 9ae3916166
1 changed files with 1 additions and 2 deletions

View File

@ -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)