Fix issue 271: Loading 16/24/32bit images wasn't working since the layers. oops.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1236 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
9507cf8df2
commit
141a523c46
@ -679,7 +679,7 @@ void Load_image(byte image)
|
||||
Cursor_shape=CURSOR_SHAPE_HOURGLASS;
|
||||
Display_cursor();
|
||||
Flush_update();
|
||||
if (Convert_24b_bitmap_to_256(Main_screen,Buffer_image_24b,Main_image_width,Main_image_height,Main_palette))
|
||||
if (Convert_24b_bitmap_to_256(Main_backups->Pages->Image[0],Buffer_image_24b,Main_image_width,Main_image_height,Main_palette))
|
||||
File_error=2;
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user