mirror of https://github.com/stella-emu/stella.git
Variables declared as uInt64 should be serialized as such.
This commit is contained in:
parent
1c10e590af
commit
b8978aa76e
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include "StateManager.hxx"
|
||||
|
||||
#define STATE_HEADER "05010000state"
|
||||
#define STATE_HEADER "05019000state"
|
||||
// #define MOVIE_HEADER "03030000movie"
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue