mirror of
https://github.com/TheOfficialFloW/bd-jb
synced 2024-11-23 17:32:15 -05:00
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
Block a user