diff options
Diffstat (limited to 'amiga')
-rwxr-xr-x | amiga/object.c | 9 | ||||
-rw-r--r-- | amiga/plotters.c | 6 |
2 files changed, 5 insertions, 10 deletions
diff --git a/amiga/object.c b/amiga/object.c index f071cceb8..3ccd50b60 100755 --- a/amiga/object.c +++ b/amiga/object.c @@ -31,16 +31,9 @@ struct MinList *NewObjList(void) { - - struct MinList *objlist; - - objlist = (struct MinList *)AllocVecTagList(sizeof(struct MinList) + 10, NULL); -#warning List structure allocation is larger than necessary for debugging ^^^^ - + struct MinList *objlist = (struct MinList *)AllocVecTagList(sizeof(struct MinList), NULL); NewMinList(objlist); - return(objlist); - } struct nsObject *AddObject(struct MinList *objlist, ULONG otype) diff --git a/amiga/plotters.c b/amiga/plotters.c index 5077614b6..9455d1cde 100644 --- a/amiga/plotters.c +++ b/amiga/plotters.c @@ -106,8 +106,10 @@ void ami_init_layers(struct gui_globals *gg, ULONG width, ULONG height) } else { palette_mapped = false; } -#if 0 - palette_mapped = true; /* only supporting palette mapped screens on OS3 for now */ + +#ifndef __amigaos4__ +#warning OS3 locked to palette-mapped modes + palette_mapped = true; if(depth > 8) depth = 8; #endif |