mainform: add slightly informative error message to certain rom load exceptions

This commit is contained in:
goyuken 2012-10-06 20:59:44 +00:00
parent 29efa50eab
commit a9ff371e63
1 changed files with 2 additions and 2 deletions

View File

@ -1549,7 +1549,7 @@ namespace BizHawk.MultiClient
} }
if (nextEmulator == null) if (nextEmulator == null)
throw new Exception(); throw new Exception("No core could load the rom.");
nextEmulator.CoreInputComm = Global.CoreInputComm; nextEmulator.CoreInputComm = Global.CoreInputComm;
} }
catch (Exception ex) catch (Exception ex)
@ -1558,7 +1558,7 @@ namespace BizHawk.MultiClient
return false; return false;
} }
if (nextEmulator == null) throw new Exception(); if (nextEmulator == null) throw new Exception("No core could load the rom.");
CloseGame(); CloseGame();
Global.Emulator.Dispose(); Global.Emulator.Dispose();