mirror of https://github.com/TheOfficialFloW/bd-jb
Fix typo in JIT.
This commit is contained in:
parent
0818b13b23
commit
57233f4a72
|
@ -211,7 +211,7 @@ public final class JIT {
|
|||
for (long i = dataSectionOffset; i < file.length(); i += CHUNK_SIZE) {
|
||||
api.memset(chunk, 0, CHUNK_SIZE);
|
||||
|
||||
file.seek(dataSectionOffset);
|
||||
file.seek(i);
|
||||
int read = file.read(chunk, 0, (int) Math.min(file.length() - i, CHUNK_SIZE));
|
||||
|
||||
api.memcpy(address + i, chunk, read);
|
||||
|
|
Loading…
Reference in New Issue