When mGBA fails with missing firmware, throw MissingFirmwareException

This commit is contained in:
YoshiRulz 2021-05-14 12:19:45 +10:00
parent c57cd97f56
commit a357da360e
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBA
if (DeterministicEmulation != deterministic) if (DeterministicEmulation != deterministic)
{ {
throw new InvalidOperationException("A BIOS is required for deterministic recordings!"); throw new MissingFirmwareException("A BIOS is required for deterministic recordings!");
} }
if (!DeterministicEmulation && bios != null && !_syncSettings.RTCUseRealTime && !_syncSettings.SkipBios) if (!DeterministicEmulation && bios != null && !_syncSettings.RTCUseRealTime && !_syncSettings.SkipBios)