expand use of MissingFirmwareException

This commit is contained in:
goyuken 2014-07-31 22:06:11 +00:00
parent 14c8dac1bf
commit 45b8854295
2 changed files with 2 additions and 2 deletions

View File

@ -217,7 +217,7 @@ namespace BizHawk.Emulation.Cores.Atari.Atari7800
if (bios == null)
{
throw new InvalidDataException("The BIOS corresponding to the region of the game you loaded is required to run Atari 7800 games.");
throw new MissingFirmwareException("The BIOS corresponding to the region of the game you loaded is required to run Atari 7800 games.");
}
HardReset();

View File

@ -124,7 +124,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
public override bool Configure(NES.EDetectionOrigin origin)
{
if (biosrom == null || biosrom.Length != 8192)
throw new Exception("FDS bios image needed!");
throw new MissingFirmwareException("FDS bios image needed!");
Cart.vram_size = 8;
Cart.wram_size = 32;