PhPoint_t point={0, 0};PgColor_t syspalph[_Pg_MAX_PALETTE];/* palette emulation code, using palette of the PhImage_t struct */if (desktoppal==SDLPH_PAL_EMULATE){if ((SDL_Image) && (SDL_Image->palette)){for (i=firstcolor; i<firstcolor+ncolors; i++){...