public Color[][] GetPalettes(PaletteType type) { if (palettesModified) RegeneratePalettes(); return paletteBuffer[(int)type]; }