diff options
Diffstat (limited to 'src/android')
| -rw-r--r-- | src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GpuDriverHelper.kt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GpuDriverHelper.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GpuDriverHelper.kt index ed3c0f58e..528011d7f 100644 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GpuDriverHelper.kt +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GpuDriverHelper.kt | |||
| @@ -103,7 +103,11 @@ object GpuDriverHelper { | |||
| 103 | ) | 103 | ) |
| 104 | 104 | ||
| 105 | // Unzip the driver. | 105 | // Unzip the driver. |
| 106 | unzip(driverInstallationPath + DRIVER_INTERNAL_FILENAME, driverInstallationPath!!) | 106 | try { |
| 107 | unzip(driverInstallationPath + DRIVER_INTERNAL_FILENAME, driverInstallationPath!!) | ||
| 108 | } catch (e: SecurityException) { | ||
| 109 | return | ||
| 110 | } | ||
| 107 | 111 | ||
| 108 | // Initialize the driver parameters. | 112 | // Initialize the driver parameters. |
| 109 | initializeDriverParameters(context) | 113 | initializeDriverParameters(context) |