From d304d75aa5e2026a6649ae3359aa66eec43b9a02 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Tue, 8 Jun 2021 18:09:22 +0200 Subject: 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. --- Source/Android/jni/GameList/GameFileCache.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Android/jni/GameList/GameFileCache.cpp') diff --git a/Source/Android/jni/GameList/GameFileCache.cpp b/Source/Android/jni/GameList/GameFileCache.cpp index c611553aef..8428190f8a 100644 --- a/Source/Android/jni/GameList/GameFileCache.cpp +++ b/Source/Android/jni/GameList/GameFileCache.cpp @@ -27,10 +27,10 @@ static UICommon::GameFileCache* GetPointer(JNIEnv* env, jobject obj) extern "C" { #endif -JNIEXPORT jlong JNICALL Java_org_dolphinemu_dolphinemu_model_GameFileCache_newGameFileCache( - JNIEnv* env, jclass, jstring path) +JNIEXPORT jlong JNICALL +Java_org_dolphinemu_dolphinemu_model_GameFileCache_newGameFileCache(JNIEnv* env, jclass) { - return reinterpret_cast(new UICommon::GameFileCache(GetJString(env, path))); + return reinterpret_cast(new UICommon::GameFileCache()); } JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_model_GameFileCache_finalize(JNIEnv* env, -- cgit v1.2.3