cleanup and 32 bit fallback
This commit is contained in:
@@ -1,9 +1,6 @@
|
|||||||
package;
|
package;
|
||||||
|
|
||||||
import openfl.display.Sprite;
|
import openfl.display.Sprite;
|
||||||
import openfl.Lib;
|
|
||||||
import sys.FileSystem;
|
|
||||||
import Assets;
|
|
||||||
|
|
||||||
class Main extends Sprite {
|
class Main extends Sprite {
|
||||||
public function new() {
|
public function new() {
|
||||||
|
|||||||
@@ -267,6 +267,10 @@ class AssetMacro {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var source = limeRoot + "ndll/" + platformDirectory + "/lime.ndll";
|
var source = limeRoot + "ndll/" + platformDirectory + "/lime.ndll";
|
||||||
|
if (!FileSystem.exists(source) && platformDirectory.endsWith("64")) {
|
||||||
|
platformDirectory = platformDirectory.substr(0, platformDirectory.length - 2);
|
||||||
|
source = limeRoot + "ndll/" + platformDirectory + "/lime.ndll";
|
||||||
|
}
|
||||||
if (!FileSystem.exists(source)) {
|
if (!FileSystem.exists(source)) {
|
||||||
Context.warning("Lime native library not found: " + source, Context.currentPos());
|
Context.warning("Lime native library not found: " + source, Context.currentPos());
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user