expand use of MissingFirmwareException
This commit is contained in:
parent
14c8dac1bf
commit
45b8854295
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue