Fix loading and saving TIA state.

This commit is contained in:
Christian Speckner 2017-06-15 16:13:07 +02:00
parent cf55f5d413
commit c2ce1943ca
1 changed files with 2 additions and 0 deletions

View File

@ -232,6 +232,7 @@ bool TIA::save(Serializer& out) const
out.putInt(myHblankCtr);
out.putInt(myHctr);
out.putInt(myXDelta);
out.putInt(myXAtRenderingStart);
out.putBool(myCollisionUpdateRequired);
out.putInt(myCollisionMask);
@ -301,6 +302,7 @@ bool TIA::load(Serializer& in)
myHblankCtr = in.getInt();
myHctr = in.getInt();
myXDelta = in.getInt();
myXAtRenderingStart = in.getInt();
myCollisionUpdateRequired = in.getBool();
myCollisionMask = in.getInt();