remove some todos, I decided not to do any of them, it is too pedantic to do them

This commit is contained in:
adelikat 2014-09-01 19:07:05 +00:00
parent 5ba74c631c
commit d003be9cda
7 changed files with 7 additions and 7 deletions

View File

@ -38,7 +38,7 @@ namespace BizHawk.Client.Common
{
get
{
if (Global.Emulator.HasMemoryDomains()) // IMemoryDomains TODO: don't register memory libraries if core is not IMemoryDomains
if (Global.Emulator.HasMemoryDomains())
{
return (Global.Emulator as IMemoryDomains).MemoryDomains[_currentMemoryDomain];
}

View File

@ -22,7 +22,7 @@ namespace BizHawk.Client.Common
{
get
{
if (Global.Emulator.HasMemoryDomains()) // IMemoryDomains TODO: don't register memory libraries if core is not IMemoryDomains
if (Global.Emulator.HasMemoryDomains())
{
return (Global.Emulator as IMemoryDomains).MemoryDomains;
}

View File

@ -456,7 +456,7 @@ namespace BizHawk.Client.Common
compare = int.Parse(vals[2], NumberStyles.HexNumber);
}
var domain = (Global.Emulator as IMemoryDomains).MemoryDomains[vals[3]]; // IMemoryDomains TODO
var domain = (Global.Emulator as IMemoryDomains).MemoryDomains[vals[3]];
var enabled = vals[4] == "1";
var name = vals[5];

View File

@ -357,7 +357,7 @@ namespace BizHawk.Client.EmuHawk
}
var watch = Watch.GenerateWatch(
(Global.Emulator as IMemoryDomains).MemoryDomains["MD CART"], // IMemoryDomains TODO: don't expose this dialog unless the core implements IMemoryDomains
(Global.Emulator as IMemoryDomains).MemoryDomains["MD CART"],
address,
Watch.WatchSize.Word,
Watch.DisplayType.Hex,

View File

@ -231,7 +231,7 @@ namespace BizHawk.Client.EmuHawk
if (!string.IsNullOrWhiteSpace(AddressBox.Text) && !string.IsNullOrWhiteSpace(ValueBox.Text))
{
var watch = Watch.GenerateWatch(
(Global.Emulator as IMemoryDomains).MemoryDomains["System Bus"], // IMemoryDomains TODO: Don't expose this dialog if core does not implement IMemoryDomains
(Global.Emulator as IMemoryDomains).MemoryDomains["System Bus"],
AddressBox.ToRawInt().Value,
Watch.WatchSize.Byte,
Watch.DisplayType.Hex,

View File

@ -304,7 +304,7 @@ namespace BizHawk.Client.EmuHawk
{
using (var fs = new FileStream(sfd.FileName, FileMode.Create, FileAccess.Write))
{
_cdl.Disassemble(fs, (Global.Emulator as IMemoryDomains).MemoryDomains); // IMemoryDomains TODO: don't expose this dialog unless core implmements IMemoryDomains
_cdl.Disassemble(fs, (Global.Emulator as IMemoryDomains).MemoryDomains);
}
}
}

View File

@ -275,7 +275,7 @@ namespace BizHawk.Client.EmuHawk
}
var watch = Watch.GenerateWatch(
(Global.Emulator as IMemoryDomains).MemoryDomains["BUS"], // IMemoryDomains TODO: don't expose this dialog if not implementing this interface
(Global.Emulator as IMemoryDomains).MemoryDomains["BUS"],
address,
Watch.WatchSize.Byte,
Watch.DisplayType.Hex,