Ram Watch - set the CurrentFileName property during LoadFile, fixes some subtle bugs that resulted from a loaded watch with an empty name
This commit is contained in:
parent
f697a52c56
commit
653fb0ff38
|
@ -525,6 +525,7 @@ namespace BizHawk.Client.Common
|
|||
}
|
||||
|
||||
Domain = Global.Emulator.MemoryDomains[domain] ?? Global.Emulator.MemoryDomains.MainMemory;
|
||||
_currentFilename = path;
|
||||
}
|
||||
|
||||
if (!append)
|
||||
|
|
|
@ -517,8 +517,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
}
|
||||
|
||||
var test1 = _watches.Any(watch => (watch.Address ?? 0) >= watch.Domain.Size);
|
||||
|
||||
ErrorIconButton.Visible = _watches.Any(watch => (watch.Address ?? 0) >= watch.Domain.Size);
|
||||
|
||||
MessageLabel.Text = message;
|
||||
|
|
Loading…
Reference in New Issue