mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 08:23:15 +00:00
CINE: Fix restoring background music when loading saved game in DOS CD version of Future Wars.
This commit is contained in:
parent
806fa64d74
commit
e5974027ec
@ -691,6 +691,11 @@ bool CineEngine::loadPlainSaveFW(Common::SeekableReadStream &in, CineSaveGameFor
|
||||
}
|
||||
|
||||
if (strlen(bgName)) {
|
||||
if (g_cine->getGameType() == GType_FW && (g_cine->getFeatures() & GF_CD)) {
|
||||
char buffer[20];
|
||||
removeExtention(buffer, bgName);
|
||||
g_sound->setBgMusic(atoi(buffer + 1));
|
||||
}
|
||||
loadBg(bgName);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user