aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
Diffstat (limited to 'simon')
-rw-r--r--simon/simon.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 10110d97c0..c777827b00 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -3329,6 +3329,13 @@ void SimonState::readSfxFile(const char *filename)
_effects_offsets[i] += offs;
}
}
+#if defined(SCUMM_BIG_ENDIAN)
+ uint r;
+ if (_effects_offsets) {
+ for (r = 0; r < gss->NUM_EFFECTS_RESOURCES; r++)
+ _effects_offsets[r] = READ_LE_UINT32(&_effects_offsets[r]);
+ }
+#endif
}
void SimonState::video_putchar(FillOrCopyStruct *fcs, byte c)