mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-19 16:18:45 +00:00
TSAGE: Fixes for saving on R2R credits screen
This commit is contained in:
parent
217164c6c9
commit
a19a097866
@ -47,6 +47,7 @@ static SavedObject *classFactoryProc(const Common::String &className) {
|
||||
if (className == "SceneObjectWrapper") return new SceneObjectWrapper();
|
||||
if (className == "PaletteRotation") return new PaletteRotation();
|
||||
if (className == "PaletteFader") return new PaletteFader();
|
||||
if (className == "SceneText") return new SceneText();
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -1447,6 +1447,8 @@ void Scene160::synchronize(Serializer &s) {
|
||||
s.syncAsSint16LE(_frameNumber);
|
||||
s.syncAsSint16LE(_yChange);
|
||||
s.syncAsSint16LE(_lineNum);
|
||||
|
||||
_creditsList.synchronize(s);
|
||||
}
|
||||
|
||||
void Scene160::remove() {
|
||||
|
@ -175,7 +175,6 @@ public:
|
||||
ASound _sound1;
|
||||
Action1 _action1;
|
||||
int _frameNumber, _yChange;
|
||||
SceneObject _object1, _object2, _object3;
|
||||
int _lineNum;
|
||||
SynchronizedList<SceneText *> _creditsList;
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user