GameList: Fix double CDVD open

This commit is contained in:
Stenzek 2023-01-27 03:48:42 +10:00 committed by refractionpcsx2
parent c9498c3cec
commit d485fcb3ee
1 changed files with 0 additions and 5 deletions

View File

@ -306,11 +306,6 @@ bool GameList::GetIsoListEntry(const std::string& path, GameList::Entry* entry)
if (!FileSystem::StatFile(path.c_str(), &sd))
return false;
// This isn't great, we really want to make it all thread-local...
CDVD = &CDVDapi_Iso;
if (CDVD->open(path.c_str()) != 0)
return false;
s32 disc_type;
if (!GetIsoSerialAndCRC(path, &disc_type, &entry->serial, &entry->crc))
return false;