achievements: fix crash when loading image cache

Fixes MINIDUMP-312, MINIDUMP-313
Issue #761
This commit is contained in:
flyinghead 2024-05-04 13:51:59 +02:00
parent fe17d459a5
commit ccc9931de8
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ void Achievements::loadCache()
std::lock_guard<std::mutex> _(cacheMutex);
cacheMap[v] = name;
}
closedir(dir);
flycast::closedir(dir);
}
}