mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-17 15:18:11 +00:00
Fix loom sound when using COMPRESSED_SOUND_FILE.
svn-id: r4276
This commit is contained in:
parent
1f46cee135
commit
48f4d103e0
@ -2715,10 +2715,9 @@ void Scumm::decodeParseString()
|
|||||||
delay = (int)((getVarOrDirectWord(0x40) & 0xffff) * 7.5);
|
delay = (int)((getVarOrDirectWord(0x40) & 0xffff) * 7.5);
|
||||||
if (_gameId == GID_LOOM256) {
|
if (_gameId == GID_LOOM256) {
|
||||||
#ifdef COMPRESSED_SOUND_FILE
|
#ifdef COMPRESSED_SOUND_FILE
|
||||||
playMP3CDTrack(1, 0, offset, delay);
|
if (playMP3CDTrack(1, 0, offset, delay) == -1)
|
||||||
#else
|
|
||||||
_system->play_cdrom(1, 0, offset, delay);
|
|
||||||
#endif
|
#endif
|
||||||
|
_system->play_cdrom(1, 0, offset, delay);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
warning("parseString: 8");
|
warning("parseString: 8");
|
||||||
|
Loading…
Reference in New Issue
Block a user