summaryrefslogtreecommitdiff
path: root/amiga/plotters.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-08-05 10:07:26 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-08-05 10:07:26 +0100
commit5a055e3b05925a4b482ff2fc1e4d18d57825df59 (patch)
tree463cc3717a577893307e2d5b018483c30c0f2cf7 /amiga/plotters.c
parent0f1685f131e3f4bdb4b679eeeb1f23a23990f06d (diff)
downloadnetsurf-5a055e3b05925a4b482ff2fc1e4d18d57825df59.tar.gz
netsurf-5a055e3b05925a4b482ff2fc1e4d18d57825df59.tar.bz2
stop crashing
Diffstat (limited to 'amiga/plotters.c')
-rwxr-xr-xamiga/plotters.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/amiga/plotters.c b/amiga/plotters.c
index 4507e3e3f..239b44269 100755
--- a/amiga/plotters.c
+++ b/amiga/plotters.c
@@ -668,6 +668,8 @@ bool ami_bitmap_tile(int x, int y, int width, int height,
LOG(("[ami_plotter] Entered ami_bitmap_tile()"));
#endif
+ if(palette_mapped == true) return true;
+
int xf,yf,xm,ym,oy,ox;
struct BitMap *tbm = NULL;
struct Hook *bfh = NULL;