Saving a picture and loading it back works, but there are struct misalignment problems, asved file will NOT be compatible with other tools
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@91 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
8
divers.c
8
divers.c
@@ -612,7 +612,13 @@ byte Couleur_ILBM_line(word Pos_X, word Vraie_taille_ligne)
|
||||
|
||||
void Palette_256_to_64(T_Palette Palette)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
int i;
|
||||
for(i=0;i<256;i++)
|
||||
{
|
||||
Palette[i].R = Palette[i].B >> 2;
|
||||
Palette[i].V = Palette[i].V >> 2;
|
||||
Palette[i].B = Palette[i].R >> 2;
|
||||
}
|
||||
}
|
||||
|
||||
void Palette_64_to_256(T_Palette Palette)
|
||||
|
||||
Reference in New Issue
Block a user