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

@ -37,8 +37,11 @@ namespace BizHawk.Client.Common
_domain = domain;
_watchList.ForEach(w =>
{
if (w.Domain != null)
{
w.Domain = _core.MemoryDomains[w.Domain.Name];
}
});
}