mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-07 23:44:06 +00:00
AppletLoader: fix issue with caching and lzma/pack200 files
This commit is contained in:
parent
1ba3f0197b
commit
77306f770a
1 changed files with 4 additions and 0 deletions
|
|
@ -1251,6 +1251,10 @@ public class AppletLoader extends Applet implements Runnable, AppletStub {
|
|||
float increment = (float) 10.0 / urlList.length;
|
||||
// extract all lzma and pack.lzma files
|
||||
for (int i = 0; i < urlList.length; i++) {
|
||||
|
||||
// if file has not changed, skip it
|
||||
if (fileSizes[i] == -2) continue;
|
||||
|
||||
percentage = 55 + (int) (increment * (i+1));
|
||||
String filename = getFileName(urlList[i]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue