BIOS: Only match PS1 and PS2 BIOS images exactly

This commit is contained in:
Connor McLaughlin 2021-01-05 12:20:17 +10:00
parent 68f97a8116
commit 5cd261a5b2
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ std::optional<std::vector<u8>> HostInterface::FindBIOSImageInDirectory(ConsoleRe
for (const FILESYSTEM_FIND_DATA& fd : results)
{
if (fd.Size < BIOS::BIOS_SIZE || fd.Size > BIOS::BIOS_SIZE_PS2)
if (fd.Size != BIOS::BIOS_SIZE && fd.Size != BIOS::BIOS_SIZE_PS2)
{
Log_WarningPrintf("Skipping '%s': incorrect size", fd.FileName.c_str());
continue;