mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 06:48:33 +00:00
VideoBackends:Vulkan: Allow loading custom drivers on Android
... using libadrenotools
This commit is contained in:
parent
35bb663c2a
commit
23bebc5270
24 changed files with 399 additions and 29 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue