Ram Watch/Search - fix loading of watch files

This commit is contained in:
adelikat 2012-09-14 00:30:29 +00:00
parent c05c9ebda7
commit 5c5b290c75
2 changed files with 4 additions and 2 deletions

View File

@ -429,7 +429,6 @@ namespace BizHawk.MultiClient
private void InitializeAddress(Watch w)
{
w.Domain = Domain;
w.PeekAddress();
w.Prev = w.Value;
w.Original = w.Value;

View File

@ -160,9 +160,12 @@ namespace BizHawk.MultiClient
{
y = s.IndexOf('\t') + 1;
s = s.Substring(y, s.Length - y); //Domain
temp = s.Substring(0, s.IndexOf('\t'));
w.Domain = Global.Emulator.MemoryDomains[GetDomainPos(temp)];
}
w.Notes = s.Substring(2, s.Length - 2); //User notes
y = s.IndexOf('\t') + 1;
w.Notes = s.Substring(y, s.Length - y); //User notes
watchList.Add(w);
}