mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 17:45:38 +00:00
Fix crash when scraping folders
This commit is contained in:
parent
566804e682
commit
25f31d154c
|
@ -221,7 +221,7 @@ void CollectionSystemManager::updateSystemsList()
|
||||||
// updates all collection files related to the source file
|
// updates all collection files related to the source file
|
||||||
void CollectionSystemManager::refreshCollectionSystems(FileData* file)
|
void CollectionSystemManager::refreshCollectionSystems(FileData* file)
|
||||||
{
|
{
|
||||||
if (!file->getSystem()->isGameSystem())
|
if (!file->getSystem()->isGameSystem() || file->getType() != GAME)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
std::map<std::string, CollectionSystemData> allCollections;
|
std::map<std::string, CollectionSystemData> allCollections;
|
||||||
|
|
Loading…
Reference in a new issue