Add a more intelligible error message when user error tries to load a bin file into saturn

This commit is contained in:
nattthebear 2017-07-08 18:22:40 -04:00
parent 97c0d52498
commit 06e1f701aa
1 changed files with 7 additions and 0 deletions

View File

@ -61,6 +61,13 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.Saturn
return true;
}
[CoreConstructor("SAT")]
public Saturnus(CoreComm comm, byte[] rom)
:base(comm, new Configuration())
{
throw new InvalidOperationException("To load a Saturn game, please load the CUE file and not the BIN file.");
}
public Saturnus(CoreComm comm, IEnumerable<Disc> disks, bool deterministic, Settings settings,
SyncSettings syncSettings)
:base(comm, new Configuration