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