Savestate: Remove unused code

This commit is contained in:
Jonathan Campbell
2025-02-06 12:42:23 -08:00
parent e1bb71b01b
commit ef9413ee93
4 changed files with 3 additions and 36 deletions

View File

@@ -1,4 +1,4 @@
/*auto-generated*/
#define UPDATED_STR "Feb 1, 2025 7:06:27am"
#define GIT_COMMIT_HASH "32b2c24"
#define UPDATED_STR "Feb 6, 2025 8:20:30am"
#define GIT_COMMIT_HASH "e1bb71b"
#define COPYRIGHT_END_YEAR "2025"

View File

@@ -359,23 +359,10 @@ private:
SaveState(const SaveState&);
SaveState& operator=(const SaveState&);
class RawBytes
{
public:
RawBytes() {}
void set(const std::string& stream);
std::string get() const; //throw (Error)
bool dataAvailable() const;
private:
bool dataExists = false; //determine whether set method (even with empty string) was called
mutable std::string bytes; //
};
struct CompData
{
CompData(Component& cmp) : comp(cmp) {}
Component& comp;
std::vector<RawBytes> rawBytes = std::vector<RawBytes>(MAX_PAGE * SLOT_COUNT);
};
typedef std::map<std::string, CompData> CompEntry;