gbSgbSCPPalette[i] = *fromAddress++;
gbSgbSCPPalette[i] = FROM16LE(*fromAddress++);
void gbSgbScpPalette(){  gbSgbRenderScreenToBuffer();    u16 *fromAddress = (u16 *)gbSgbScreenBuffer;    for(int i = 0; i < 512*4; i++) {    gbSgbSCPPalette[i] = *fromAddress++;  }}