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