mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
FULLPIPE: Implement GameLoader::restoreDefPicAniInfos()
This commit is contained in:
parent
0fe605be4b
commit
18242b8a29
@ -635,7 +635,16 @@ bool readSavegameHeader(Common::InSaveFile *in, FullpipeSavegameHeader &header)
|
||||
}
|
||||
|
||||
void GameLoader::restoreDefPicAniInfos() {
|
||||
warning("STUB: restoreDefPicAniInfos()");
|
||||
for (uint i = 0; i < _sc2array.size(); i++) {
|
||||
if (_sc2array[i]._picAniInfos) {
|
||||
free(_sc2array[i]._picAniInfos);
|
||||
_sc2array[i]._picAniInfos = 0;
|
||||
_sc2array[i]._picAniInfosCount = 0;
|
||||
}
|
||||
|
||||
if (_sc2array[i]._scene)
|
||||
applyPicAniInfos(_sc2array[i]._scene, _sc2array[i]._defPicAniInfos, _sc2array[i]._defPicAniInfosCount);
|
||||
}
|
||||
}
|
||||
|
||||
GameVar *FullpipeEngine::getGameLoaderGameVar() {
|
||||
|
Loading…
Reference in New Issue
Block a user