Cheats window - Fix bug

This commit is contained in:
andres.delikat 2011-03-21 00:43:53 +00:00
parent 2879154344
commit ad6c2d0faf
1 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,6 @@ namespace BizHawk.MultiClient
{
//Implement Freeze functions in all memory domains
//Restore Window Size should restore column order as well
//TODO: use currently selected memory domain! - line 71
//context menu - enable/disable highlight dependent items
int defaultWidth; //For saving the default size of the dialog, so the user can restore if desired
@ -68,7 +67,7 @@ namespace BizHawk.MultiClient
AddressBox.Text = "";
ValueBox.Text = "";
PopulateMemoryDomainComboBox();
//AddressBox.MaxLength = GetNumDigits(Global.Emulator.MainMemory.Size - 1);
AddressBox.MaxLength = GetNumDigits(Global.Emulator.MemoryDomains[0].Size - 1);
}
public void Restart()