diff options
Diffstat (limited to 'engines/lastexpress/sound/entry.h')
-rw-r--r-- | engines/lastexpress/sound/entry.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/engines/lastexpress/sound/entry.h b/engines/lastexpress/sound/entry.h index d92b16a5dd..0ebe550a02 100644 --- a/engines/lastexpress/sound/entry.h +++ b/engines/lastexpress/sound/entry.h @@ -76,12 +76,15 @@ namespace LastExpress { class LastExpressEngine; class SubtitleEntry; +// TODO: this union assumes little-endian machine union SoundStatusUnion { uint32 status; - byte status1; - byte status2; - byte status3; - byte status4; + struct { + byte status1; + byte status2; + byte status3; + byte status4; + } b; SoundStatusUnion() { status = 0; |