From 4dc9429b1929a7ed4f72e5ea7a609a4c015b2c85 Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Sun, 28 Aug 2022 16:51:30 -0700 Subject: [PATCH] Convert from Addr68k_from_LADDR to NativeAligned4FromLAddr in xinit.c --- src/xinit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xinit.c b/src/xinit.c index 0c87d1d..10ebb38 100644 --- a/src/xinit.c +++ b/src/xinit.c @@ -16,7 +16,7 @@ #include // for sig_atomic_t #include // for false, bool, true #include // for NULL -#include "adr68k.h" // for Addr68k_from_LADDR +#include "adr68k.h" // for NativeAligned4FromLAddr #include "dbprint.h" // for TPRINT #include "devif.h" // for (anonymous), MRegion, DspInterface, OUTER_S... #include "dspifdefs.h" // for GenericReturnT @@ -288,7 +288,7 @@ DspInterface X_init(DspInterface dsp, LispPTR lispbitmap, int width_hint, int he dsp->ScreenBitmap.byte_order = MSBFirst; #endif /* BYTESWAP */ - dsp->ScreenBitmap.data = (char *)(lispbitmap ? Addr68k_from_LADDR((LispPTR)lispbitmap) : 0); + dsp->ScreenBitmap.data = (char *)(lispbitmap ? NativeAligned4FromLAddr((LispPTR)lispbitmap) : 0); switch (depth_hint) { case 8: /* Color Screen */