diff --git a/src/emucore/tia/frame-manager/AbstractFrameManager.cxx b/src/emucore/tia/frame-manager/AbstractFrameManager.cxx index 254473ff0..5d796f7dc 100644 --- a/src/emucore/tia/frame-manager/AbstractFrameManager.cxx +++ b/src/emucore/tia/frame-manager/AbstractFrameManager.cxx @@ -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(); diff --git a/src/emucore/tia/frame-manager/FrameManager.cxx b/src/emucore/tia/frame-manager/FrameManager.cxx index 02196d06d..8c67a2a7a 100644 --- a/src/emucore/tia/frame-manager/FrameManager.cxx +++ b/src/emucore/tia/frame-manager/FrameManager.cxx @@ -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();