From e1706885ade804d26729452b23c5b64053729747 Mon Sep 17 00:00:00 2001 From: Ender's Games Date: Sun, 30 Sep 2018 05:05:56 -0400 Subject: [PATCH] Skip Android configurations that have no id/name --- .../src/main/java/com/reicast/emulator/emu/GL2JNIView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/android-studio/reicast/src/main/java/com/reicast/emulator/emu/GL2JNIView.java b/shell/android-studio/reicast/src/main/java/com/reicast/emulator/emu/GL2JNIView.java index 3315243aa..7c2162bbe 100644 --- a/shell/android-studio/reicast/src/main/java/com/reicast/emulator/emu/GL2JNIView.java +++ b/shell/android-studio/reicast/src/main/java/com/reicast/emulator/emu/GL2JNIView.java @@ -659,7 +659,7 @@ public class GL2JNIView extends GLSurfaceView } void reiosInfo(String reiosId, String reiosSoftware) { - if (fileName != null) { + if (fileName != null && !reiosId.equals("") && !reiosSoftware.equals("")) { String gameId = reiosId.replaceAll("[^a-zA-Z0-9]+", "").toLowerCase(); SharedPreferences mPrefs = context.getSharedPreferences(gameId, Activity.MODE_PRIVATE); Emulator app = (Emulator) context.getApplicationContext();