aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
Diffstat (limited to 'backends')
-rw-r--r--backends/midi/mt32/structures.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/midi/mt32/structures.h b/backends/midi/mt32/structures.h
index baa4fb588a..07b170cc89 100644
--- a/backends/midi/mt32/structures.h
+++ b/backends/midi/mt32/structures.h
@@ -208,8 +208,13 @@ struct sampleTable {
union soundaddr {
Bit32u pcmabs;
struct offsets {
+#if defined(SCUMM_LITTLE_ENDIAN)
Bit16u pcmoffset;
Bit16u pcmplace;
+#else
+ Bit16u pcmplace;
+ Bit16u pcmoffset;
+#endif
} pcmoffs;
};