summaryrefslogtreecommitdiff
path: root/frontends/amiga/bitmap.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-12-31 14:43:06 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2016-12-31 14:43:06 +0000
commit8af9a8407bc9f65fc34eecfe0fbd4beb6dacdfac (patch)
treeda17e2f1e09bd7067e83e9f2152ec534e654b1f8 /frontends/amiga/bitmap.c
parent36b26b861f375de5b2be3ff9de37288049f05a26 (diff)
downloadnetsurf-8af9a8407bc9f65fc34eecfe0fbd4beb6dacdfac.tar.gz
netsurf-8af9a8407bc9f65fc34eecfe0fbd4beb6dacdfac.tar.bz2
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
Diffstat (limited to 'frontends/amiga/bitmap.c')
-rw-r--r--frontends/amiga/bitmap.c3
1 files changed, 2 insertions, 1 deletions
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);