Temporarily disabled Mask which is not implmented (it would crash on each use). Fixed instant crash in 'Copy to spare / Palette and remap' by doing actual layer-aware implementation
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1234 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -1367,6 +1367,8 @@ void Button_Copy_page(void)
|
||||
if ( (!Spare_image_is_modified)
|
||||
|| (Confirmation_box("Spare page was modified. Proceed?")) )
|
||||
{
|
||||
// FIXME: add here some code to backup the spare
|
||||
|
||||
if (clicked_button<=2)
|
||||
Copy_image_only();
|
||||
|
||||
@@ -1375,6 +1377,8 @@ void Button_Copy_page(void)
|
||||
|
||||
if (clicked_button!=2) // copie de la palette
|
||||
memcpy(Spare_palette,Main_palette,sizeof(T_Palette));
|
||||
|
||||
// FIXME: here is the 'end_of_modifications' for spare.
|
||||
|
||||
Spare_image_is_modified=1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user