mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
Fix my fix
svn-id: r9711
This commit is contained in:
parent
2e38b49d27
commit
a892474a4f
@ -464,8 +464,9 @@ void Sound::playSound(int soundID) {
|
|||||||
// This hack relays on the fact that we currently don't support SFX
|
// This hack relays on the fact that we currently don't support SFX
|
||||||
// in these games, only music. Once we add SFX support, we'll have to
|
// in these games, only music. Once we add SFX support, we'll have to
|
||||||
// revise it / replace it by a proper fix.
|
// revise it / replace it by a proper fix.
|
||||||
if (READ_BE_UINT16(ptr) == 'RO' || READ_UINT32(ptr) == MKID('ADL ')) {
|
if (ptr) {
|
||||||
_scumm->_imuse->stop_all_sounds();
|
if (READ_BE_UINT16(ptr) == 'RO' || READ_UINT32(ptr) == MKID('ADL '))
|
||||||
|
_scumm->_imuse->stop_all_sounds();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user