mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-12-25 13:29:59 +00:00
Working on packing partition files.
This commit is contained in:
parent
48d222f017
commit
5af871d65b
@ -332,6 +332,7 @@ class PackPartitions
|
||||
assert chunk.num >= 1 && chunk.num <= 255
|
||||
hdrBuf.put((byte)chunk.num)
|
||||
def nPages = (chunk.buf.position() + 255) >> 8
|
||||
println " chunk: type=${chunk.type}, num=${chunk.num}, nPages=$nPages"
|
||||
hdrBuf.put((byte)nPages)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user