Ram Watch - fix a bug where loading a watch file with separators would throw a null reference exception
This commit is contained in:
parent
70fc923d2c
commit
7c83b91e83
|
@ -38,7 +38,10 @@ namespace BizHawk.Client.Common
|
|||
|
||||
_watchList.ForEach(w =>
|
||||
{
|
||||
w.Domain = _core.MemoryDomains[w.Domain.Name];
|
||||
if (w.Domain != null)
|
||||
{
|
||||
w.Domain = _core.MemoryDomains[w.Domain.Name];
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue