mainform: add slightly informative error message to certain rom load exceptions
This commit is contained in:
parent
29efa50eab
commit
a9ff371e63
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue