Ram Watch - fix a bug where loading a watch file with separators would throw a null reference exception

This commit is contained in:
adelikat 2014-11-29 00:28:48 +00:00
parent 70fc923d2c
commit 7c83b91e83
1 changed files with 4 additions and 1 deletions

View File

@ -38,7 +38,10 @@ namespace BizHawk.Client.Common
_watchList.ForEach(w => _watchList.ForEach(w =>
{ {
w.Domain = _core.MemoryDomains[w.Domain.Name]; if (w.Domain != null)
{
w.Domain = _core.MemoryDomains[w.Domain.Name];
}
}); });
} }