Explorar o código

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

shadowislord %!s(int64=10) %!d(string=hai) anos
pai
achega
86dbade689
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  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;