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:
mihlit@mihlit.cz
2012-02-02 22:48:15 +00:00
parent 7f00d8c3dc
commit 14676ab361
8 changed files with 12 additions and 12 deletions
-2
View File
@@ -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