Load custom drivers from app private data dir

Required since /sdcard doesn't have exec perm support
This commit is contained in:
Billy Laws 2022-05-12 17:08:17 +01:00
parent dcef597345
commit 8e021a9f1f

View File

@ -337,7 +337,7 @@ namespace skyline::gpu {
ADRENOTOOLS_DRIVER_CUSTOM, ADRENOTOOLS_DRIVER_CUSTOM,
nullptr, // We require Android 10 so don't need to supply nullptr, // We require Android 10 so don't need to supply
state.os->nativeLibraryPath.c_str(), state.os->nativeLibraryPath.c_str(),
(state.os->publicAppFilesPath + "gpu/turnip/").c_str(), (state.os->privateAppFilesPath + "gpu/turnip/").c_str(),
"libvulkan_freedreno.so", "libvulkan_freedreno.so",
nullptr nullptr
)}; )};