mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
fixed toggling music on/off after savegame restore
svn-id: r9007
This commit is contained in:
parent
d971845fab
commit
e997d05b3c
@ -1452,7 +1452,9 @@ uint16 SkyControl::parseSaveData(uint8 *srcBuf) {
|
||||
_skyLogic->fnEnterSection(SkyLogic::_scriptVariables[CUR_SECTION], 0, 0);
|
||||
}
|
||||
_skyDisk->refreshFilesList(reloadList);
|
||||
_skyMusic->startMusic((uint16)music);
|
||||
SkyState::_systemVars.currentMusic = (uint16)music;
|
||||
if (!(SkyState::_systemVars.systemFlags & SF_MUS_OFF))
|
||||
_skyMusic->startMusic((uint16)music);
|
||||
_savedMouse = (uint16)mouseType;
|
||||
SkyState::_systemVars.currentPalette = palette; // will be set when doControlPanel ends
|
||||
SkyState::_systemVars.systemFlags |= SF_GAME_RESTORED; // what's that for?
|
||||
|
Loading…
Reference in New Issue
Block a user