From 45b885429513b06c77f2153c5955409e97c1d864 Mon Sep 17 00:00:00 2001 From: goyuken Date: Thu, 31 Jul 2014 22:06:11 +0000 Subject: [PATCH] expand use of MissingFirmwareException --- BizHawk.Emulation.Cores/Consoles/Atari/7800/Atari7800.cs | 2 +- BizHawk.Emulation.Cores/Consoles/Nintendo/NES/FDS/FDS.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BizHawk.Emulation.Cores/Consoles/Atari/7800/Atari7800.cs b/BizHawk.Emulation.Cores/Consoles/Atari/7800/Atari7800.cs index ebc43d4c74..57469f89c4 100644 --- a/BizHawk.Emulation.Cores/Consoles/Atari/7800/Atari7800.cs +++ b/BizHawk.Emulation.Cores/Consoles/Atari/7800/Atari7800.cs @@ -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(); diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/FDS/FDS.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/FDS/FDS.cs index bb1067389a..8fde781cc6 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/FDS/FDS.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/FDS/FDS.cs @@ -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;