Update #47 - Singleplayer lag fixes

This commit is contained in:
lax1dude
2025-01-19 13:26:27 -08:00
parent 3f5ee57068
commit 1f0d593a8c
2052 changed files with 133581 additions and 2339 deletions

View File

@ -26,15 +26,33 @@ public class EaglerZLIB {
public static OutputStream newDeflaterOutputStream(OutputStream os) throws IOException {
return PlatformRuntime.newDeflaterOutputStream(os);
}
public static int deflateFull(byte[] input, byte[] output) throws IOException {
return PlatformRuntime.deflateFull(input, 0, input.length, output, 0, output.length);
}
public static int deflateFull(byte[] input, int inputOff, int inputLen, byte[] output, int outputOff,
int outputLen) throws IOException {
return PlatformRuntime.deflateFull(input, inputOff, inputLen, output, outputOff, outputLen);
}
public static OutputStream newGZIPOutputStream(OutputStream os) throws IOException {
return PlatformRuntime.newGZIPOutputStream(os);
}
public static InputStream newInflaterInputStream(InputStream is) throws IOException {
return PlatformRuntime.newInflaterInputStream(is);
}
public static int inflateFull(byte[] input, byte[] output) throws IOException {
return PlatformRuntime.inflateFull(input, 0, input.length, output, 0, output.length);
}
public static int inflateFull(byte[] input, int inputOff, int inputLen, byte[] output, int outputOff,
int outputLen) throws IOException {
return PlatformRuntime.inflateFull(input, inputOff, inputLen, output, outputOff, outputLen);
}
public static InputStream newGZIPInputStream(InputStream is) throws IOException {
return PlatformRuntime.newGZIPInputStream(is);
}