mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-04 10:18:36 +00:00
Calls to File::SetUserPath() no longer need to manually append directory separators.
This commit is contained in:
parent
e54657254a
commit
ab56f3ecbd
2 changed files with 5 additions and 14 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue