Ram Watch/Search - fix loading of watch files
This commit is contained in:
parent
c05c9ebda7
commit
5c5b290c75
|
@ -429,7 +429,6 @@ namespace BizHawk.MultiClient
|
||||||
|
|
||||||
private void InitializeAddress(Watch w)
|
private void InitializeAddress(Watch w)
|
||||||
{
|
{
|
||||||
w.Domain = Domain;
|
|
||||||
w.PeekAddress();
|
w.PeekAddress();
|
||||||
w.Prev = w.Value;
|
w.Prev = w.Value;
|
||||||
w.Original = w.Value;
|
w.Original = w.Value;
|
||||||
|
|
|
@ -160,9 +160,12 @@ namespace BizHawk.MultiClient
|
||||||
{
|
{
|
||||||
y = s.IndexOf('\t') + 1;
|
y = s.IndexOf('\t') + 1;
|
||||||
s = s.Substring(y, s.Length - y); //Domain
|
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);
|
watchList.Add(w);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue