mirror of https://github.com/stella-emu/stella.git
Fix loading and saving TIA state.
This commit is contained in:
parent
cf55f5d413
commit
c2ce1943ca
|
@ -232,6 +232,7 @@ bool TIA::save(Serializer& out) const
|
||||||
out.putInt(myHblankCtr);
|
out.putInt(myHblankCtr);
|
||||||
out.putInt(myHctr);
|
out.putInt(myHctr);
|
||||||
out.putInt(myXDelta);
|
out.putInt(myXDelta);
|
||||||
|
out.putInt(myXAtRenderingStart);
|
||||||
|
|
||||||
out.putBool(myCollisionUpdateRequired);
|
out.putBool(myCollisionUpdateRequired);
|
||||||
out.putInt(myCollisionMask);
|
out.putInt(myCollisionMask);
|
||||||
|
@ -301,6 +302,7 @@ bool TIA::load(Serializer& in)
|
||||||
myHblankCtr = in.getInt();
|
myHblankCtr = in.getInt();
|
||||||
myHctr = in.getInt();
|
myHctr = in.getInt();
|
||||||
myXDelta = in.getInt();
|
myXDelta = in.getInt();
|
||||||
|
myXAtRenderingStart = in.getInt();
|
||||||
|
|
||||||
myCollisionUpdateRequired = in.getBool();
|
myCollisionUpdateRequired = in.getBool();
|
||||||
myCollisionMask = in.getInt();
|
myCollisionMask = in.getInt();
|
||||||
|
|
Loading…
Reference in New Issue