bmx library: set bpp header field correctly on save

This commit is contained in:
Irmen de Jong 2024-03-26 20:28:10 +01:00
parent 647af34f5b
commit 2a3a27c56d
2 changed files with 3 additions and 0 deletions

View File

@ -170,6 +170,7 @@ save_end:
sub set_bpp(ubyte bpp) {
ubyte[8] depths = [0,1,1,2,2,2,2,3]
vera_colordepth = depths[bpp-1]
bitsperpixel = bpp
}
sub set_vera_colordepth(ubyte depth) {

View File

@ -1,6 +1,8 @@
TODO
====
- add more optimized routine in conv to convert (u)byte to string. (it now reuses the pretty large word to string routine)
...