1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-14 07:30:21 +00:00

Replace Addr68k related macros with NativeAligned inline functions

This commit is contained in:
Nick Briggs 2022-09-01 14:15:37 -07:00
parent d6a5e5298a
commit 4b603a8a31

View File

@ -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 */