mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-15 02:30:32 +01:00
GameList: Fix double CDVD open
This commit is contained in:
1 parent
c9498c3cec
commit
d485fcb3ee
1 file changed
-5
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user