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