Fix a bug in scripts/try-uncompress

This commit is contained in:
2018-10-13 02:39:23 +01:00
parent 06625007fc
commit 93eb481b6d

View File

@@ -389,7 +389,8 @@ def sprites(filename)
px = hdr.width * hdr.height
pp hdr
pp spr
data = spr.to_data
puts "%s %03d: %02x %02x %02x %02x %3d %3d %5d %5d %.2f %02x %02x ... %02x"%[
filename,
@@ -403,9 +404,9 @@ def sprites(filename)
px,
hdr.size,
(hdr.size*8) / px.to_f,
spr.data.bytes[0],
spr.data.bytes[1],
spr.data.bytes[-1],
data.bytes[0],
data.bytes[1],
data.bytes[-1],
]
end
end