fix endian bug

svn-id: r5528
This commit is contained in:
Max Horn 2002-11-13 07:58:26 +00:00
parent 8cd0f3b767
commit 9c27a99821

View File

@ -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);