2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

android: Don't crash the app when selecting a zip that causes a SecurityException

This commit is contained in:
Charles Lombardo 2023-06-01 15:43:46 -04:00 committed by bunnei
parent eb4ab9bc58
commit 8e8627a258

View file

@ -103,7 +103,11 @@ object GpuDriverHelper {
) )
// Unzip the driver. // Unzip the driver.
try {
unzip(driverInstallationPath + DRIVER_INTERNAL_FILENAME, driverInstallationPath!!) unzip(driverInstallationPath + DRIVER_INTERNAL_FILENAME, driverInstallationPath!!)
} catch (e: SecurityException) {
return
}
// Initialize the driver parameters. // Initialize the driver parameters.
initializeDriverParameters(context) initializeDriverParameters(context)