* Fix CPC palette for Mode 5 files : add 'undocumented' color codes
* Fix "layer support" detection, it didn't work for Mode 5. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1966 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -968,9 +968,9 @@ void Save_image(T_IO_Context *context)
|
||||
switch (context->Type)
|
||||
{
|
||||
case CONTEXT_MAIN_IMAGE:
|
||||
if (!File_formats[context->Format-1].Supports_layers
|
||||
&& Main_backups->Pages->Nb_layers > 1
|
||||
&& !File_formats[context->Format-1].Palette_only)
|
||||
if ((!Get_fileformat(context->Format)->Supports_layers)
|
||||
&& (Main_backups->Pages->Nb_layers > 1)
|
||||
&& (!Get_fileformat(context->Format)->Palette_only))
|
||||
{
|
||||
if (Main_backups->Pages->Image_mode == IMAGE_MODE_ANIMATION)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user