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