[Scummvm-git-logs] scummvm master -> bb36f333106e42f4cf9080aff8afabe8cb5be508
dwatteau
noreply at scummvm.org
Sat Aug 9 16:09:34 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
bb36f33310 LASTEXPRESS: Fix SIGBUS on strict-alignment archs (Trac#16144)
Commit: bb36f333106e42f4cf9080aff8afabe8cb5be508
https://github.com/scummvm/scummvm/commit/bb36f333106e42f4cf9080aff8afabe8cb5be508
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2025-08-09T18:08:59+02:00
Commit Message:
LASTEXPRESS: Fix SIGBUS on strict-alignment archs (Trac#16144)
Packing the Message struct is not necessary anymore, since its contents
are always saved/loaded with the usual WRITE_LE_INT32/READ_LE_INT32 now.
On the other hand, removing the struct packing does fix a SIGBUS when
starting the engine on that old mips64el device of mine.
Thanks to Andy for confirming that it's OK to remove this :P
Changed paths:
engines/lastexpress/game/events.h
diff --git a/engines/lastexpress/game/events.h b/engines/lastexpress/game/events.h
index 9f68fc6dda9..22692f454c4 100644
--- a/engines/lastexpress/game/events.h
+++ b/engines/lastexpress/game/events.h
@@ -42,8 +42,6 @@ struct ConsCallParam {
const char *stringParam;
};
-#include "common/pack-start.h"
-
typedef struct Message {
int receiver;
int action;
@@ -61,8 +59,6 @@ typedef struct Message {
}
} Message;
-#include "common/pack-end.h"
-
typedef struct Event {
int channel;
int x;
More information about the Scummvm-git-logs
mailing list