Variables declared as uInt64 should be serialized as such.

This commit is contained in:
Stephen Anthony 2018-05-12 17:04:33 -02:30
parent 1c10e590af
commit b8978aa76e
3 changed files with 5 additions and 5 deletions

View File

@ -27,7 +27,7 @@
#include "StateManager.hxx"
#define STATE_HEADER "05010000state"
#define STATE_HEADER "05019000state"
// #define MOVIE_HEADER "03030000movie"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@ -116,7 +116,7 @@ bool PaddleReader::save(Serializer& out) const
out.putDouble(myU);
out.putDouble(myValue);
out.putDouble(myTimestamp);
out.putLong(myTimestamp);
out.putInt(int(myConsoleTiming));
out.putDouble(myClockFreq);
@ -144,7 +144,7 @@ bool PaddleReader::load(Serializer& in)
myU = in.getDouble();
myValue = in.getDouble();
myTimestamp = in.getDouble();
myTimestamp = in.getLong();
myConsoleTiming = ConsoleTiming(in.getInt());
myClockFreq = in.getDouble();

View File

@ -273,7 +273,7 @@ bool TIA::save(Serializer& out) const
out.putByte(myColorHBlank);
out.putDouble(myTimestamp);
out.putLong(myTimestamp);
out.putBool(myAutoFrameEnabled);
@ -344,7 +344,7 @@ bool TIA::load(Serializer& in)
myColorHBlank = in.getByte();
myTimestamp = in.getDouble();
myTimestamp = in.getLong();
myAutoFrameEnabled = in.getBool();