diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-12-31 14:43:06 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-12-31 14:43:06 +0000 |
commit | 8af9a8407bc9f65fc34eecfe0fbd4beb6dacdfac (patch) | |
tree | da17e2f1e09bd7067e83e9f2152ec534e654b1f8 /frontends/amiga/bitmap.c | |
parent | 36b26b861f375de5b2be3ff9de37288049f05a26 (diff) | |
download | netsurf-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.c | 3 |
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); |