diff options
| author | Léo Lam <leo@leolam.fr> | 2021-06-13 12:53:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-13 12:53:49 +0200 |
| commit | 90a994f93780ef8a7cccfc02e00576692e0f2839 (patch) | |
| tree | 35d27fafedeb3096d199a5fac6b0f50eb3a805ed /Source/Android/app/src/main/java | |
| parent | 4e3e3bfd60e68deadfbe72fb06403e5895981f23 (diff) | |
| parent | d304d75aa5e2026a6649ae3359aa66eec43b9a02 (diff) | |
Merge pull request #9802 from JosJuice/android-game-file-cache-path
Android: Stop using custom path for GameFileCache
Diffstat (limited to 'Source/Android/app/src/main/java')
| -rw-r--r-- | Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/GameFileCache.java | 6 | ||||
| -rw-r--r-- | Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/services/GameFileCacheService.java | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/GameFileCache.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/GameFileCache.java index cca12267b2..7597b437d5 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/GameFileCache.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/GameFileCache.java @@ -17,12 +17,12 @@ public class GameFileCache @Keep private long mPointer; - public GameFileCache(String path) + public GameFileCache() { - mPointer = newGameFileCache(path); + mPointer = newGameFileCache(); } - private static native long newGameFileCache(String path); + private static native long newGameFileCache(); @Override public native void finalize(); diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/services/GameFileCacheService.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/services/GameFileCacheService.java index 6d3ee84e52..89e1a0896b 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/services/GameFileCacheService.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/services/GameFileCacheService.java @@ -172,7 +172,7 @@ public final class GameFileCacheService extends IntentService // Load the game list cache if it isn't already loaded, otherwise do nothing if (ACTION_LOAD.equals(intent.getAction()) && gameFileCache == null) { - GameFileCache temp = new GameFileCache(getCacheDir() + File.separator + "gamelist.cache"); + GameFileCache temp = new GameFileCache(); synchronized (temp) { gameFileCache = temp; |
