From 4b603a8a3149b043c6739c11fd06fcd40336ec60 Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Thu, 1 Sep 2022 14:15:37 -0700 Subject: [PATCH] Replace Addr68k related macros with NativeAligned inline functions --- src/llcolor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llcolor.c b/src/llcolor.c index b80cd70..7417805 100644 --- a/src/llcolor.c +++ b/src/llcolor.c @@ -60,7 +60,7 @@ LispPTR cgfour_init_color_display(LispPTR color_bitmapbase) /* SUBR 0210 */ /* C printf("You can not initialize the color screen from inside color screen. \n"); } - ColorDisplayRegion68k = Addr68k_from_LADDR(color_bitmapbase); + ColorDisplayRegion68k = NativeAligned2FromLAddr(color_bitmapbase); Dispcolorsize = ((displaywidth * displayheight + (getpagesize() - 1)) & -getpagesize()); /* 8 bit depth */