Don't append libretro cores that cannot be used.
If "neon" appears in name, and NEON isn't supported, that libretro core will not be used.
This commit is contained in:
parent
edbb3a7c65
commit
dbc9555274
|
@ -187,6 +187,9 @@ public class RetroArch extends Activity implements
|
|||
for (final File lib : new File(modulePath).listFiles()) {
|
||||
String libName = lib.getName();
|
||||
|
||||
if (libName.contains("neon") && !cpuIsNeon)
|
||||
continue;
|
||||
|
||||
// Allow both libretro-core.so and libretro_core.so.
|
||||
if (libName.startsWith("libretro") && !libName.startsWith("libretroarch")) {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue