Skip Android configurations that have no id/name

This commit is contained in:
Ender's Games 2018-09-30 05:05:56 -04:00
parent 4a3bec95f8
commit e1706885ad
1 changed files with 1 additions and 1 deletions

View File

@ -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();