added missing serializing

This commit is contained in:
thrust26 2019-01-05 00:07:45 +01:00
parent f4de083a2b
commit 5fd3c017f6
1 changed files with 6 additions and 0 deletions

View File

@ -289,6 +289,9 @@ bool TIA::save(Serializer& out) const
out.putInt(myFrameBufferScanlines); out.putInt(myFrameBufferScanlines);
out.putInt(myFrontBufferScanlines); out.putInt(myFrontBufferScanlines);
out.putByte(myPFDelay);
out.putByte(myPFColorDelay);
} }
catch(...) catch(...)
{ {
@ -358,6 +361,9 @@ bool TIA::load(Serializer& in)
myFrameBufferScanlines = in.getInt(); myFrameBufferScanlines = in.getInt();
myFrontBufferScanlines = in.getInt(); myFrontBufferScanlines = in.getInt();
myPFDelay = in.getByte();
myPFColorDelay = in.getByte();
} }
catch(...) catch(...)
{ {