ColecoHawk - good error message when unable to find BIOS, add BIOS info file in Coleco folder

This commit is contained in:
adelikat 2012-11-25 01:32:17 +00:00
parent 89f6683b7e
commit afdc3dd670
2 changed files with 17 additions and 2 deletions

View File

@ -1827,8 +1827,16 @@ namespace BizHawk.MultiClient
break;
case "Coleco":
string colbiosPath = PathManager.MakeAbsolutePath(Global.Config.PathCOLBios, "Coleco");
ColecoVision c = new ColecoVision(game, rom.RomData, colbiosPath, Global.Config.ColecoSkipBiosIntro);
nextEmulator = c;
FileInfo colfile = new FileInfo(colbiosPath);
if (!colfile.Exists)
{
MessageBox.Show("Unable to find the required ColecoVision BIOS file - \n" + colbiosPath, "Unable to load BIOS", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
else
{
ColecoVision c = new ColecoVision(game, rom.RomData, colbiosPath, Global.Config.ColecoSkipBiosIntro);
nextEmulator = c;
}
break;
case "INTV":
{

View File

@ -0,0 +1,7 @@
To play ColecoVision games requires the coleco BIOS,
It is expected by default to be in this folder named ColecoBios.bin
To configure the location and name of this file, use the Config -> Path Config dialog
Its sha1 is 45BEDC4CBDEAC66C7DF59E9E599195C778D86A92