diff --git a/amiga/bitmap.c b/amiga/bitmap.c index a6c24b1af..e28b21463 100644 --- a/amiga/bitmap.c +++ b/amiga/bitmap.c @@ -495,7 +495,7 @@ static PLANEPTR ami_bitmap_get_mask(struct bitmap *bitmap, int width, int height for(y=0; ynative_mask[(y*(width/8)) + (x/8)] = diff --git a/amiga/options.h b/amiga/options.h index 41bf104f5..ed5bc93eb 100644 --- a/amiga/options.h +++ b/amiga/options.h @@ -50,6 +50,7 @@ bool faster_scroll; \ bool scale_quality; \ int dither_quality; \ + int mask_alpha; \ bool ask_overwrite; \ int printer_unit; \ int print_scale; \ @@ -111,6 +112,7 @@ .faster_scroll = true, \ .scale_quality = false, \ .dither_quality = 1, \ + .mask_alpha = 0, \ .ask_overwrite = true, \ .printer_unit = 0, \ .print_scale = 100, \ @@ -171,6 +173,7 @@ { "faster_scroll", OPTION_BOOL, &nsoptions.faster_scroll}, \ { "scale_quality", OPTION_BOOL, &nsoptions.scale_quality}, \ { "dither_quality", OPTION_INTEGER, &nsoptions.dither_quality}, \ +{ "mask_alpha", OPTION_INTEGER, &nsoptions.mask_alpha}, \ { "ask_overwrite", OPTION_BOOL, &nsoptions.ask_overwrite}, \ { "printer_unit", OPTION_INTEGER, &nsoptions.printer_unit}, \ { "print_scale", OPTION_INTEGER, &nsoptions.print_scale}, \