Browse Source

* Do not crash if running on x86 / MIPS android system when using JmeSystem.getPlatform()

shadowislord 10 years ago
parent
commit
86dbade689
1 changed files with 6 additions and 1 deletions
  1. 6 1
      jme3-core/src/main/java/com/jme3/system/Platform.java

+ 6 - 1
jme3-core/src/main/java/com/jme3/system/Platform.java

@@ -95,7 +95,12 @@ public enum Platform {
     
     iOS_X86,
     
-    iOS_ARM;
+    iOS_ARM,
+    
+    /**
+     * Android running on unknown platform (could be x86 or mips for example).
+     */
+    Android_Other;
     
     private final boolean is64bit;