GameList: Fix double CDVD open

This commit is contained in:
Stenzek authored and refractionpcsx2 committed 2023-01-26 18:26:32 +00:00
1 parent c9498c3cec
commit d485fcb3ee
1 file changed
-5
-5
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;