Ram Watch - add a null check on Restart()

This commit is contained in:
adelikat 2014-12-22 00:59:39 +00:00
parent 6d0a764a72
commit fd28a593f6
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ namespace BizHawk.Client.EmuHawk
return; return;
} }
if (!string.IsNullOrWhiteSpace(_watches.CurrentFileName)) if (_watches != null && !string.IsNullOrWhiteSpace(_watches.CurrentFileName))
{ {
_watches.RefreshDomans(_core, _core.MemoryDomains.MainMemory); _watches.RefreshDomans(_core, _core.MemoryDomains.MainMemory);
_watches.Reload(); _watches.Reload();