mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
reordered iMuseDigital stuff to be next to each other
svn-id: r7289
This commit is contained in:
parent
7e58986519
commit
b3eb397ad2
@ -179,8 +179,13 @@ void Sound::playSound(int soundID) {
|
||||
ptr = _scumm->getResourceAddress(rtSound, soundID);
|
||||
if (ptr) {
|
||||
if (READ_UINT32_UNALIGNED(ptr) == MKID('iMUS')){
|
||||
if (_scumm->_imuseDigital)
|
||||
_scumm->_imuseDigital->startSound(soundID);
|
||||
assert(_scumm->_imuseDigital);
|
||||
_scumm->_imuseDigital->startSound(soundID);
|
||||
return;
|
||||
}
|
||||
else if (READ_UINT32_UNALIGNED(ptr) == MKID('Crea')) {
|
||||
assert(_scumm->_imuseDigital);
|
||||
_scumm->_imuseDigital->startSound(soundID);
|
||||
return;
|
||||
}
|
||||
else if (READ_UINT32_UNALIGNED(ptr) == MKID('SOUN')) {
|
||||
@ -259,10 +264,6 @@ void Sound::playSound(int soundID) {
|
||||
|
||||
return;
|
||||
}
|
||||
else if (READ_UINT32_UNALIGNED(ptr) == MKID('Crea')) {
|
||||
_scumm->_imuseDigital->startSound(soundID);
|
||||
return;
|
||||
}
|
||||
else if (READ_UINT32_UNALIGNED(ptr) == MKID('ADL ')) {
|
||||
// played as MIDI, just to make perhaps the later use
|
||||
// of WA possible (see "else if" with GF_OLD256 below)
|
||||
|
Loading…
Reference in New Issue
Block a user