aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorMax Horn2002-11-13 07:58:26 +0000
committerMax Horn2002-11-13 07:58:26 +0000
commit9c27a99821693ba71aefb7436e0e1ff86163dc6f (patch)
tree18604131a0d73061923503671b994ac10cfdde97 /simon
parent8cd0f3b767463465735a7629f1b7ac2baf615b84 (diff)
downloadscummvm-rg350-9c27a99821693ba71aefb7436e0e1ff86163dc6f.tar.gz
scummvm-rg350-9c27a99821693ba71aefb7436e0e1ff86163dc6f.tar.bz2
scummvm-rg350-9c27a99821693ba71aefb7436e0e1ff86163dc6f.zip
fix endian bug
svn-id: r5528
Diffstat (limited to 'simon')
-rw-r--r--simon/simon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 1bd6c16953..6c333ca4d5 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -3303,7 +3303,7 @@ void SimonState::readSfxFile(const char *filename)
vc_29_stop_all_sounds();
_effects_file->seek(4, SEEK_SET);
- _effects_file->read(&size, sizeof(uint32));
+ size = _effects_file->readUint32LE();
num = size / sizeof(uint32);