From 5fd3c017f6b0fbabf8eba994fc2100ce6fb9a07d Mon Sep 17 00:00:00 2001 From: thrust26 Date: Sat, 5 Jan 2019 00:07:45 +0100 Subject: [PATCH] added missing serializing --- src/emucore/tia/TIA.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/emucore/tia/TIA.cxx b/src/emucore/tia/TIA.cxx index 9d51e4924..bb0f796c0 100644 --- a/src/emucore/tia/TIA.cxx +++ b/src/emucore/tia/TIA.cxx @@ -289,6 +289,9 @@ bool TIA::save(Serializer& out) const out.putInt(myFrameBufferScanlines); out.putInt(myFrontBufferScanlines); + + out.putByte(myPFDelay); + out.putByte(myPFColorDelay); } catch(...) { @@ -358,6 +361,9 @@ bool TIA::load(Serializer& in) myFrameBufferScanlines = in.getInt(); myFrontBufferScanlines = in.getInt(); + + myPFDelay = in.getByte(); + myPFColorDelay = in.getByte(); } catch(...) {