diff options
| author | Robin Kertels <robin.kertels@gmail.com> | 2023-06-01 00:05:06 +0200 |
|---|---|---|
| committer | Robin Kertels <robin.kertels@gmail.com> | 2023-06-11 13:52:34 +0200 |
| commit | 23bebc5270bfd5a149aeb8bb5a3a2dd4433bd5e1 (patch) | |
| tree | 45e378d45f19381a1a92a5e71ee38780f78cc687 /Source/Android/jni/MainAndroid.cpp | |
| parent | 35bb663c2abfba0208931b85d779ed5a0084c7e8 (diff) | |
VideoBackends:Vulkan: Allow loading custom drivers on Android
... using libadrenotools
Diffstat (limited to 'Source/Android/jni/MainAndroid.cpp')
| -rw-r--r-- | Source/Android/jni/MainAndroid.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/Android/jni/MainAndroid.cpp b/Source/Android/jni/MainAndroid.cpp index 30f0f5995e..d73c9f3d75 100644 --- a/Source/Android/jni/MainAndroid.cpp +++ b/Source/Android/jni/MainAndroid.cpp @@ -371,6 +371,15 @@ JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_utils_DirectoryInitializat File::SetSysDirectory(path); } +JNIEXPORT void JNICALL +Java_org_dolphinemu_dolphinemu_utils_DirectoryInitialization_SetGpuDriverDirectories( + JNIEnv* env, jclass, jstring jPath, jstring jLibPath) +{ + const std::string path = GetJString(env, jPath); + const std::string lib_path = GetJString(env, jLibPath); + File::SetGpuDriverDirectories(path, lib_path); +} + JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_SetUserDirectory( JNIEnv* env, jclass, jstring jDirectory) { |
