summaryrefslogtreecommitdiff
path: root/src/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/file.h')
-rw-r--r--src/file.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/file.h b/src/file.h
index 36be4d2..0ef9aa4 100644
--- a/src/file.h
+++ b/src/file.h
@@ -31,8 +31,13 @@
#include "info.h"
#include <stdio.h>
+#include <vector>
+#include <string>
+
#include <string.h>
-using namespace std;
+
+// For savestate_n
+#include "package.h"
class File {
public:
@@ -52,9 +57,15 @@ public:
int Write(short int val);
int Write(unsigned short int val);
*/
+
+ void setSaveState(n_savestate savestate);
+
private:
+ volatile n_savestate savestate;
Info* info;
+ std::vector<std::string> filelist;
+
int Open();
int fd;