Merge pull request #9802 from JosJuice/android-game-file-cache-path

Android: Stop using custom path for GameFileCache
This commit is contained in:
Léo Lam
2021-06-13 12:53:49 +02:00
committed by GitHub
5 changed files with 8 additions and 13 deletions

View File

@ -43,10 +43,6 @@ GameFileCache::GameFileCache() : m_path(File::GetUserPath(D_CACHE_IDX) + "gameli
{
}
GameFileCache::GameFileCache(std::string path) : m_path(std::move(path))
{
}
void GameFileCache::ForEach(std::function<void(const std::shared_ptr<const GameFile>&)> f) const
{
for (const std::shared_ptr<const GameFile>& item : m_cached_files)

View File

@ -31,8 +31,7 @@ public:
Yes = 1,
};
GameFileCache(); // Uses the default path
explicit GameFileCache(std::string path);
GameFileCache();
void ForEach(std::function<void(const std::shared_ptr<const GameFile>&)> f) const;