error message cleanup

Once everything is unified, we'll probably hit this path once in a while
This commit is contained in:
nattthebear 2020-07-11 16:18:13 -04:00
parent cc9d7df9f7
commit dbb73805db
2 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,8 @@ namespace BizHawk.Emulation.Cores.Consoles.NEC.PCFX
public Tst(CoreLoadParameters<NymaSettings, NymaSyncSettings> lp)
: base(lp.Comm, "PCFX", "PC-FX Controller", lp.Settings, lp.SyncSettings)
{
if (lp.Roms.Count > 0)
throw new InvalidOperationException("To load a PC-FX game, please load the CUE file and not the BIN file.");
var firmwares = new Dictionary<string, (string, string)>
{
{ "FIRMWARE:pcfx.rom", ("PCFX", "BIOS") },

View File

@ -29,6 +29,8 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.Saturn
public Saturnus(CoreLoadParameters<NymaSettings, NymaSyncSettings> lp)
: base(lp.Comm, "SAT", "Saturn Controller", lp.Settings, lp.SyncSettings)
{
if (lp.Roms.Count > 0)
throw new InvalidOperationException("To load a Saturn game, please load the CUE file and not the BIN file.");
var firmwares = new Dictionary<string, (string, string)>
{
{ "FIRMWARE:$J", ("SAT", "J") },