summaryrefslogtreecommitdiff
path: root/Source/Core/UICommon/GameFileCache.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2021-06-08 18:09:22 +0200
committerJosJuice <josjuice@gmail.com>2021-06-08 18:34:40 +0200
commitd304d75aa5e2026a6649ae3359aa66eec43b9a02 (patch)
tree24978cb6d4a69374531fde5383bda04d4dc7adca /Source/Core/UICommon/GameFileCache.cpp
parent8f9bb5612af67d609818129f10e8f5b8f9ea353e (diff)
Android: Stop using custom path for GameFileCache
Back when I wrote this code, I believe I set it to use a custom path so that the cache would end up in a directory which Android considers to be a cache directory. But nowadays the directory which Dolphin's C++ code considers to be the cache directory is such a directory, so there's no longer any reason to override the default path.
Diffstat (limited to 'Source/Core/UICommon/GameFileCache.cpp')
-rw-r--r--Source/Core/UICommon/GameFileCache.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/Core/UICommon/GameFileCache.cpp b/Source/Core/UICommon/GameFileCache.cpp
index f041a7d48d..76b6ac322d 100644
--- a/Source/Core/UICommon/GameFileCache.cpp
+++ b/Source/Core/UICommon/GameFileCache.cpp
@@ -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)