From a9ff371e6369f61a4a34bfa54ecea5cc06c4bbe9 Mon Sep 17 00:00:00 2001 From: goyuken Date: Sat, 6 Oct 2012 20:59:44 +0000 Subject: [PATCH] mainform: add slightly informative error message to certain rom load exceptions --- BizHawk.MultiClient/MainForm.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BizHawk.MultiClient/MainForm.cs b/BizHawk.MultiClient/MainForm.cs index a9a154dba7..67854c7e1c 100644 --- a/BizHawk.MultiClient/MainForm.cs +++ b/BizHawk.MultiClient/MainForm.cs @@ -1549,7 +1549,7 @@ namespace BizHawk.MultiClient } if (nextEmulator == null) - throw new Exception(); + throw new Exception("No core could load the rom."); nextEmulator.CoreInputComm = Global.CoreInputComm; } catch (Exception ex) @@ -1558,7 +1558,7 @@ namespace BizHawk.MultiClient return false; } - if (nextEmulator == null) throw new Exception(); + if (nextEmulator == null) throw new Exception("No core could load the rom."); CloseGame(); Global.Emulator.Dispose();