mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 12:09:15 +00:00
CINE: Fix sound effects stopping the music in the DOS CD version of Future Wars.
This commit is contained in:
parent
e5974027ec
commit
27e5cfbd1b
@ -1858,7 +1858,9 @@ int FWScript::o1_playSample() {
|
||||
if (g_cine->getGameType() == Cine::GType_OS && size == 0) {
|
||||
return 0;
|
||||
}
|
||||
g_sound->stopMusic();
|
||||
// The DOS CD version of Future Wars uses CD audio for music
|
||||
if (!(g_cine->getGameType() == Cine::GType_FW && (g_cine->getFeatures() & GF_CD)))
|
||||
g_sound->stopMusic();
|
||||
if (size == 0xFFFF) {
|
||||
g_sound->playSound(channel, 0, data, 0, 0, 0, volume, 0);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user