aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
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);