Merge pull request #10241 from AdmiralCurtiss/user-dir-consistency

Ensure user paths are stored in a consistent manner.
This commit is contained in:
Léo Lam
2022-01-01 02:32:24 +01:00
committed by GitHub
10 changed files with 50 additions and 35 deletions

View File

@ -387,7 +387,7 @@ JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_SetCacheDire
JNIEnv* env, jclass, jstring jDirectory)
{
std::lock_guard<std::mutex> guard(s_host_identity_lock);
File::SetUserPath(D_CACHE_IDX, GetJString(env, jDirectory) + DIR_SEP);
File::SetUserPath(D_CACHE_IDX, GetJString(env, jDirectory));
}
JNIEXPORT jint JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_DefaultCPUCore(JNIEnv*, jclass)