mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
Fix for bug #1153648 (Compressed BUN files play incorrectly on BE systems)
svn-id: r17014
This commit is contained in:
@@ -176,8 +176,11 @@ void IMuseDigital::saveOrLoad(Serializer *ser) {
|
||||
} else
|
||||
error("IMuseDigital::saveOrLoad(): Can't handle %d bit samples", bits);
|
||||
|
||||
#ifdef SCUMM_LITTLE_ENDIAN
|
||||
#error foo
|
||||
if (track->compressed)
|
||||
track->mixerFlags |= SoundMixer::FLAG_LITTLE_ENDIAN;
|
||||
#endif
|
||||
|
||||
int32 streamBufferSize = track->iteration;
|
||||
track->stream2 = NULL;
|
||||
|
||||
@@ -150,8 +150,10 @@ void IMuseDigital::startSound(int soundId, const char *soundName, int soundType,
|
||||
} else
|
||||
error("IMuseDigital::startSound(): Can't handle %d bit samples", bits);
|
||||
|
||||
#ifdef SCUMM_LITTLE_ENDIAN
|
||||
if (track->compressed)
|
||||
track->mixerFlags |= SoundMixer::FLAG_LITTLE_ENDIAN;
|
||||
#endif
|
||||
}
|
||||
|
||||
if (input) {
|
||||
|
||||
Reference in New Issue
Block a user