make sure splash start and end markers have correct position
Compiler can change position of start/end splash markers or even optimize-out them completely, because they are not used in the fw. Make them part of the splash data block, so their possition is always correct. util/xbm2lbm was changed together with other c "images" to make it consitent.
This commit is contained in:
@@ -35,7 +35,6 @@ def main(xbm)
|
||||
|
||||
File.open("#{base}.lbm","w"){|f|
|
||||
col=0
|
||||
f.printf("prog_uchar APM %s[] = {\n",base.sub(/.*\//,""))
|
||||
f.printf("%d,%d,\n",w/cols,h/rows)
|
||||
rows.times{|row|
|
||||
(hb/rows).times{|yb| yb
|
||||
@@ -45,7 +44,6 @@ def main(xbm)
|
||||
f.puts
|
||||
}
|
||||
}
|
||||
f.printf("};\n")
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user