mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
Savestate: Remove unused code
This commit is contained in:
@@ -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"
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user