Bump state version for KidVid; clean up some typos.

This commit is contained in:
Stephen Anthony 2022-09-04 12:55:53 -02:30
parent 0f09b945ce
commit 01e8d29190
3 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@
#ifndef STATE_MANAGER_HXX
#define STATE_MANAGER_HXX
#define STATE_HEADER "06070000state"
#define STATE_HEADER "06070001state"
class OSystem;
class RewindManager;

View File

@ -175,7 +175,7 @@ bool KidVid::save(Serializer& out) const
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool KidVid::load(Serializer& in)
{
// Save WAV player state
// Load WAV player state
myTape = in.getInt();
myFilesFound = in.getBool();
mySampleFile = in.getString();
@ -184,7 +184,7 @@ bool KidVid::load(Serializer& in)
mySongPlaying = in.getBool();
mySongPointer = in.getInt();
mySongLength = in.getInt();
// Save tape input simulation state
// Load tape input simulation state
myIdx = in.getInt();
myBlockIdx = in.getInt();
myBlock = in.getInt();

View File

@ -108,7 +108,7 @@ class KidVid : public Controller
;
// Whether the KidVid device is enabled (only for games that it
// supports, and if it's plugged into the right port
// supports, and if it's plugged into the right port)
bool myEnabled{false};
string myBaseDir;