Remove useless check from Nymashock ctor

when you load a `.bin`, well in my case it asked me to choose a platform, but once I picked PSX, it continued to synthesise a `.cue` and side-step this check
This commit is contained in:
James Groom 2024-04-30 22:00:41 +10:00 committed by GitHub
parent 96d5518cc0
commit b40c405921
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -62,8 +62,6 @@ namespace BizHawk.Emulation.Cores.Sony.PSX
public Nymashock(CoreLoadParameters<NymaSettings, NymaSyncSettings> lp)
: base(lp.Comm, VSystemID.Raw.PSX, "PSX Front Panel", lp.Settings, lp.SyncSettings)
{
if (lp.Roms.Count > 0)
throw new InvalidOperationException("To load a PSX game, please load the CUE file and not the BIN file.");
var firmwares = new Dictionary<string, FirmwareID>
{
{ "FIRMWARE:$J", new("PSX", "J") },