mirror of https://github.com/stella-emu/stella.git
updated Player and Missile serializing for previous commit
This commit is contained in:
parent
7aa40d4c73
commit
f666ef52df
|
@ -285,6 +285,7 @@ bool Missile::save(Serializer& out) const
|
|||
out.putBool(myIsVisible);
|
||||
out.putBool(myIsRendering);
|
||||
out.putByte(myRenderCounter);
|
||||
out.putByte(myCopy);
|
||||
|
||||
out.putByte(myDecodesOffset);
|
||||
|
||||
|
@ -325,6 +326,7 @@ bool Missile::load(Serializer& in)
|
|||
myIsVisible = in.getBool();
|
||||
myIsRendering = in.getBool();
|
||||
myRenderCounter = in.getByte();
|
||||
myCopy = in.getByte();
|
||||
|
||||
myDecodesOffset = in.getByte();
|
||||
myDecodes = DrawCounterDecodes::get().missileDecodes()[myDecodesOffset];
|
||||
|
|
|
@ -425,6 +425,7 @@ bool Player::save(Serializer& out) const
|
|||
out.putBool(myIsRendering);
|
||||
out.putByte(myRenderCounter);
|
||||
out.putByte(myRenderCounterTripPoint);
|
||||
out.putByte(myCopy);
|
||||
out.putByte(myDivider);
|
||||
out.putByte(myDividerPending);
|
||||
out.putByte(mySampleCounter);
|
||||
|
@ -471,6 +472,7 @@ bool Player::load(Serializer& in)
|
|||
myIsRendering = in.getBool();
|
||||
myRenderCounter = in.getByte();
|
||||
myRenderCounterTripPoint = in.getByte();
|
||||
myCopy = in.getByte();
|
||||
myDivider = in.getByte();
|
||||
myDividerPending = in.getByte();
|
||||
mySampleCounter = in.getByte();
|
||||
|
|
Loading…
Reference in New Issue