aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMax Horn2004-11-07 18:25:32 +0000
committerMax Horn2004-11-07 18:25:32 +0000
commite759cf5522282febb94f4bd41a878ba0c28caa85 (patch)
tree61a5a172e8494cd0aa41a8b4ec3b6fb2d8a96221 /backends
parentf6d9b66e21cb10ff8a69e7d8296b0a890f163ce4 (diff)
downloadscummvm-rg350-e759cf5522282febb94f4bd41a878ba0c28caa85.tar.gz
scummvm-rg350-e759cf5522282febb94f4bd41a878ba0c28caa85.tar.bz2
scummvm-rg350-e759cf5522282febb94f4bd41a878ba0c28caa85.zip
Re-apply endian fix
svn-id: r15731
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;
};