achievements: fix crash when loading image cache
Fixes MINIDUMP-312, MINIDUMP-313 Issue #761
This commit is contained in:
parent
fe17d459a5
commit
ccc9931de8
|
@ -249,7 +249,7 @@ void Achievements::loadCache()
|
||||||
std::lock_guard<std::mutex> _(cacheMutex);
|
std::lock_guard<std::mutex> _(cacheMutex);
|
||||||
cacheMap[v] = name;
|
cacheMap[v] = name;
|
||||||
}
|
}
|
||||||
closedir(dir);
|
flycast::closedir(dir);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue