mirror of https://github.com/stella-emu/stella.git
Serialization fix.
This commit is contained in:
parent
2a3bb4329e
commit
01c78842d6
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue