* On Windows, forcefully load our version of OpenAL to prevent any currently installed versions in System32 from overriding it
* Increase buffer size used to extract natives from 1 KB to 100 KB to speed up extraction git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10846 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
0921540124
commit
27a4d4d268
@ -45,7 +45,7 @@ import java.util.logging.Logger;
|
|||||||
public final class Natives {
|
public final class Natives {
|
||||||
|
|
||||||
private static final Logger logger = Logger.getLogger(Natives.class.getName());
|
private static final Logger logger = Logger.getLogger(Natives.class.getName());
|
||||||
private static final byte[] buf = new byte[1024];
|
private static final byte[] buf = new byte[1024 * 100];
|
||||||
private static File extractionDirOverride = null;
|
private static File extractionDirOverride = null;
|
||||||
private static File extractionDir = null;
|
private static File extractionDir = null;
|
||||||
|
|
||||||
@ -258,7 +258,7 @@ public final class Natives {
|
|||||||
extractNativeLib("windows", "lwjgl64");
|
extractNativeLib("windows", "lwjgl64");
|
||||||
}
|
}
|
||||||
if (needOAL) {
|
if (needOAL) {
|
||||||
extractNativeLib("windows", "OpenAL64");
|
extractNativeLib("windows", "OpenAL64", true, false);
|
||||||
}
|
}
|
||||||
if (needJInput) {
|
if (needJInput) {
|
||||||
extractNativeLib("windows", "jinput-dx8_64");
|
extractNativeLib("windows", "jinput-dx8_64");
|
||||||
@ -273,7 +273,7 @@ public final class Natives {
|
|||||||
extractNativeLib("windows", "lwjgl");
|
extractNativeLib("windows", "lwjgl");
|
||||||
}
|
}
|
||||||
if (needOAL) {
|
if (needOAL) {
|
||||||
extractNativeLib("windows", "OpenAL32");
|
extractNativeLib("windows", "OpenAL32", true, false);
|
||||||
}
|
}
|
||||||
if (needJInput) {
|
if (needJInput) {
|
||||||
extractNativeLib("windows", "jinput-dx8");
|
extractNativeLib("windows", "jinput-dx8");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user