Working on packing partition files.

This commit is contained in:
Martin Haye 2014-01-05 17:16:30 -08:00
parent 48d222f017
commit 5af871d65b

View File

@ -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)
}