mirror of
https://github.com/scummvm/scummvm.git
synced 2026-11-18 21:34:48 +00:00
ULTIMA8: Correct offsets of sound index
This commit is contained in:
1 parent
d8283d1247
commit
07d63b482a
1 file changed
+1
@@ -38,6 +38,7 @@ SoundFlex::SoundFlex(Common::SeekableReadStream *rs) : Archive(rs), _samples(nul
|
||||
|
||||
Common::MemoryReadStream st(buf, size);
|
||||
|
||||
_index.push_back(SoundFlexEntry(""));
|
||||
if (buf[0] == 0xFF) {
|
||||
// Crusader flex has an index in the first object with the format:
|
||||
// [00 or FF] [ 3 bytes, often 'oB0' or 'pB0' ] [ null-terminated name ]
|
||||
|
||||
Reference in new issue
Block a user