ref: bf02a0915ffa42a3b051ea6e41c9ed1528d04614 dir: /pal.c/
#include <u.h> void pal2xrgb(int n, s32int *pal, u8int *s, u32int *d) { while(n-- > 0) *d++ = pal[*s++]; }