From 8b746780cd4bb278587fbe36b3c67b134f266166 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/return.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/return.c b/src/return.c index 1033f83..d0eebed 100644 --- a/src/return.c +++ b/src/return.c @@ -131,7 +131,7 @@ void contextsw(DLword fxnum, DLword bytenum, DLword flags) Midpunt(fxnum); /* exchanging FX */ - next68k = (DLword *)Addr68k_from_LADDR(STK_OFFSET | CURRENTFX->nextblock); + next68k = (DLword *)NativeAligned2FromLAddr(STK_OFFSET | CURRENTFX->nextblock); if (GETWORD(next68k) != STK_FSB_WORD) error("contextsw(): MP9316"); freeptr = next68k;