diff --git a/src/emucore/tia/Ball.cxx b/src/emucore/tia/Ball.cxx index 5279466f9..48f6946bf 100644 --- a/src/emucore/tia/Ball.cxx +++ b/src/emucore/tia/Ball.cxx @@ -305,6 +305,7 @@ bool Ball::save(Serializer& out) const out.putBool(myIsEnabled); out.putBool(myIsSuppressed); out.putBool(myIsDelaying); + out.putBool(myIsVisible); out.putByte(myHmmClocks); out.putByte(myCounter); @@ -347,6 +348,7 @@ bool Ball::load(Serializer& in) myIsEnabled = in.getBool(); myIsSuppressed = in.getBool(); myIsDelaying = in.getBool(); + myIsVisible = in.getBool(); myHmmClocks = in.getByte(); myCounter = in.getByte(); diff --git a/src/emucore/tia/Missile.cxx b/src/emucore/tia/Missile.cxx index c71eee66a..93f824f1b 100644 --- a/src/emucore/tia/Missile.cxx +++ b/src/emucore/tia/Missile.cxx @@ -322,6 +322,7 @@ bool Missile::save(Serializer& out) const out.putByte(myEffectiveWidth); out.putByte(myLastMovementTick); + out.putBool(myIsVisible); out.putBool(myIsRendering); out.putByte(myRenderCounter); @@ -364,6 +365,7 @@ bool Missile::load(Serializer& in) myEffectiveWidth = in.getByte(); myLastMovementTick = in.getByte(); + myIsVisible = in.getBool(); myIsRendering = in.getBool(); myRenderCounter = in.getByte();