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