From 8af9a8407bc9f65fc34eecfe0fbd4beb6dacdfac Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 31 Dec 2016 14:43:06 +0000 Subject: Don't unmap ExtMem immediately as: (a) it is upsetting the gif decoder (although I suspect it is caused by the OS struggling with the excessive remaps) (b) We are probably going to need to map it back in imminently for display --- frontends/amiga/bitmap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'frontends/amiga/bitmap.c') diff --git a/frontends/amiga/bitmap.c b/frontends/amiga/bitmap.c index fe84a94b7..5b5d6bb1e 100644 --- a/frontends/amiga/bitmap.c +++ b/frontends/amiga/bitmap.c @@ -277,7 +277,8 @@ void amiga_bitmap_modified(void *bitmap) struct bitmap *bm = bitmap; #ifdef __amigaos4__ - amiga_bitmap_unmap_buffer(bm); + /* unmap the buffer after 0.5s - we might need it imminently */ + ami_schedule(500, amiga_bitmap_unmap_buffer, bm); #endif if(bm->nativebm) ami_rtg_freebitmap(bm->nativebm); -- cgit v1.2.3