Automatically set Drawing mode when loading Thomson, C64 and Apple 2 files

This commit is contained in:
Thomas Bernard
2018-12-10 22:47:49 +01:00
parent 2a6f0e3a27
commit c81ffb0d6e
3 changed files with 17 additions and 1 deletions

View File

@@ -1186,7 +1186,10 @@ int Init_program(int argc,char * argv[])
// If only one image was loaded, assume the spare has same image type
if (file_in_command_line==1)
Spare.backups->Pages->Image_mode = Main.backups->Pages->Image_mode;
{
if (Main.backups->Pages->Image_mode <= IMAGE_MODE_ANIMATION)
Spare.backups->Pages->Image_mode = Main.backups->Pages->Image_mode;
}
Hide_cursor();
Compute_optimal_menu_colors(Main.palette);