diff --git a/compiler/res/prog8lib/cx16/bmx.p8 b/compiler/res/prog8lib/cx16/bmx.p8 index aefa986a0..d076cb64f 100644 --- a/compiler/res/prog8lib/cx16/bmx.p8 +++ b/compiler/res/prog8lib/cx16/bmx.p8 @@ -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) { diff --git a/docs/source/todo.rst b/docs/source/todo.rst index de4be414b..c9dad0dbd 100644 --- a/docs/source/todo.rst +++ b/docs/source/todo.rst @@ -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) + ...