mirror of https://github.com/stella-emu/stella.git
Variables declared as uInt64 should be serialized as such.
This commit is contained in:
parent
c3766021d8
commit
dc77f5d5f1
|
@ -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();
|
||||
|
|
|
@ -275,7 +275,7 @@ bool TIA::save(Serializer& out) const
|
|||
|
||||
out.putByte(myColorHBlank);
|
||||
|
||||
out.putDouble(myTimestamp);
|
||||
out.putLong(myTimestamp);
|
||||
|
||||
out.putByteArray(myShadowRegisters, 64);
|
||||
|
||||
|
@ -343,7 +343,7 @@ bool TIA::load(Serializer& in)
|
|||
|
||||
myColorHBlank = in.getByte();
|
||||
|
||||
myTimestamp = in.getDouble();
|
||||
myTimestamp = in.getLong();
|
||||
|
||||
in.getByteArray(myShadowRegisters, 64);
|
||||
|
||||
|
|
Loading…
Reference in New Issue