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:
Yves Rizoud
2009-12-02 00:41:37 +00:00
parent 7d657e0c02
commit 45524de886
3 changed files with 14 additions and 4 deletions

3
misc.c
View File

@@ -287,7 +287,10 @@ void Copy_part_of_image_to_another(byte * source,word source_x,word source_y,wor
byte Read_pixel_from_spare_screen(word x,word y)
{
return 0;
/* Temporarily disabled. Need to implement a third Visible_image buffer
return *(Spare_screen+y*Spare_image_width+x);
*/
}
void Rotate_90_deg_lowlevel(byte * source, byte * dest, short width, short height)