summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontends/amiga/bitmap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/frontends/amiga/bitmap.c b/frontends/amiga/bitmap.c
index a7271f827..76dae2167 100644
--- a/frontends/amiga/bitmap.c
+++ b/frontends/amiga/bitmap.c
@@ -477,10 +477,12 @@ static inline struct BitMap *ami_bitmap_get_generic(struct bitmap *bitmap,
}
bitmap->native = type;
}
+
+ if(type == AMI_NSBM_PALETTEMAPPED)
+ return tbm;
}
- if(((bitmap->width != width) || (bitmap->height != height)) &&
- (type == AMI_NSBM_TRUECOLOUR)) {
+ if((bitmap->width != width) || (bitmap->height != height)) {
struct BitMap *restrict scaledbm;
struct BitScaleArgs bsa;
int depth = 32;