mirror of https://github.com/stella-emu/stella.git
added missing serializing
This commit is contained in:
parent
f4de083a2b
commit
5fd3c017f6
|
@ -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(...)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue