mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-12-26 04:32:05 +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
|
assert chunk.num >= 1 && chunk.num <= 255
|
||||||
hdrBuf.put((byte)chunk.num)
|
hdrBuf.put((byte)chunk.num)
|
||||||
def nPages = (chunk.buf.position() + 255) >> 8
|
def nPages = (chunk.buf.position() + 255) >> 8
|
||||||
|
println " chunk: type=${chunk.type}, num=${chunk.num}, nPages=$nPages"
|
||||||
hdrBuf.put((byte)nPages)
|
hdrBuf.put((byte)nPages)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user