Fix load / save in FrameManager.

This commit is contained in:
Christian Speckner 2020-01-21 22:54:13 +01:00
parent f869c9fe98
commit 9135c16eb6
1 changed files with 4 additions and 0 deletions

View File

@ -193,6 +193,8 @@ bool FrameManager::onSave(Serializer& out) const
out.putInt(myHeight);
out.putInt(myYStart);
out.putInt(myVcenter);
out.putInt(myMaxVcenter);
out.putInt(myVSizeAdjust);
out.putBool(myJitterEnabled);
@ -215,6 +217,8 @@ bool FrameManager::onLoad(Serializer& in)
myHeight = in.getInt();
myYStart = in.getInt();
myVcenter = in.getInt();
myMaxVcenter = in.getInt();
myVSizeAdjust = in.getInt();
myJitterEnabled = in.getBool();