From 86dbade6893b77d61345880850ab3b295aa85bc2 Mon Sep 17 00:00:00 2001 From: shadowislord Date: Sat, 31 Jan 2015 12:47:07 -0500 Subject: [PATCH] * Do not crash if running on x86 / MIPS android system when using JmeSystem.getPlatform() --- jme3-core/src/main/java/com/jme3/system/Platform.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/jme3-core/src/main/java/com/jme3/system/Platform.java b/jme3-core/src/main/java/com/jme3/system/Platform.java index 6b9592040..8a30fff0c 100644 --- a/jme3-core/src/main/java/com/jme3/system/Platform.java +++ b/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;