mirror of https://github.com/stella-emu/stella.git
Savestate handling.
This commit is contained in:
parent
bdded5e600
commit
5da20a3a7a
|
@ -382,6 +382,10 @@ bool FrameManager::save(Serializer& out) const
|
|||
out.putInt(myFramesInMode);
|
||||
out.putBool(myModeConfirmed);
|
||||
|
||||
out.putInt(myStableFrames);
|
||||
out.putInt(myStabilizationFrames);
|
||||
out.putBool(myHasStabilized);
|
||||
|
||||
out.putBool(myVsync);
|
||||
|
||||
out.putInt(myVblankLines);
|
||||
|
@ -428,6 +432,10 @@ bool FrameManager::load(Serializer& in)
|
|||
myFramesInMode = in.getInt();
|
||||
myModeConfirmed = in.getBool();
|
||||
|
||||
myStableFrames = in.getInt();
|
||||
myStabilizationFrames = in.getInt();
|
||||
myHasStabilized = in.getBool();
|
||||
|
||||
myVsync = in.getBool();
|
||||
|
||||
myVblankLines = in.getInt();
|
||||
|
|
Loading…
Reference in New Issue