fix issue 330

This commit is contained in:
goyuken 2014-11-29 18:57:57 +00:00
parent a26e36719a
commit 0b16e36776
1 changed files with 1 additions and 0 deletions

View File

@ -198,6 +198,7 @@ namespace BizHawk.Client.EmuHawk
if (!Global.Emulator.HasMemoryDomains())
{
Close();
return;
}
_core = (IMemoryDomains)Global.Emulator; // Cast is intentional, better to get a cast exception than a null reference exception later