mirror of https://github.com/stella-emu/stella.git
Fix frame manager serialization. Closes #267.
This commit is contained in:
parent
0d609f6845
commit
8e7d0aa7b3
|
@ -125,6 +125,7 @@ bool AbstractFrameManager::save(Serializer& out) const
|
|||
out.putBool(myIsRendering);
|
||||
out.putBool(myVsync);
|
||||
out.putBool(myVblank);
|
||||
out.putInt(myCurrentFrameTotalLines);
|
||||
out.putInt(myCurrentFrameFinalLines);
|
||||
out.putInt(myPreviousFrameFinalLines);
|
||||
out.putInt(myTotalFrames);
|
||||
|
@ -149,6 +150,7 @@ bool AbstractFrameManager::load(Serializer& in)
|
|||
myIsRendering = in.getBool();
|
||||
myVsync = in.getBool();
|
||||
myVblank = in.getBool();
|
||||
myCurrentFrameTotalLines = in.getInt();
|
||||
myCurrentFrameFinalLines = in.getInt();
|
||||
myPreviousFrameFinalLines = in.getInt();
|
||||
myTotalFrames = in.getInt();
|
||||
|
|
|
@ -214,6 +214,7 @@ bool FrameManager::onSave(Serializer& out) const
|
|||
out.putInt(myFrameLines);
|
||||
out.putInt(myHeight);
|
||||
out.putInt(myFixedHeight);
|
||||
out.putInt(myYStart);
|
||||
|
||||
out.putBool(myJitterEnabled);
|
||||
|
||||
|
@ -240,6 +241,7 @@ bool FrameManager::onLoad(Serializer& in)
|
|||
myFrameLines = in.getInt();
|
||||
myHeight = in.getInt();
|
||||
myFixedHeight = in.getInt();
|
||||
myYStart = in.getInt();
|
||||
|
||||
myJitterEnabled = in.getBool();
|
||||
|
||||
|
|
Loading…
Reference in New Issue