aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds/arm9/source/gbampsave.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/ds/arm9/source/gbampsave.h')
-rw-r--r--backends/platform/ds/arm9/source/gbampsave.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/backends/platform/ds/arm9/source/gbampsave.h b/backends/platform/ds/arm9/source/gbampsave.h
index 9727a7c1aa..f20d6229e9 100644
--- a/backends/platform/ds/arm9/source/gbampsave.h
+++ b/backends/platform/ds/arm9/source/gbampsave.h
@@ -26,7 +26,7 @@
#define SAVE_BUFFER_SIZE 100000
-class GBAMPSaveFile : public Common::SaveFile {
+class GBAMPSaveFile : public InSaveFile, public OutSaveFile {
FILE* handle;
char buffer[SAVE_BUFFER_SIZE];
int bufferPos;
@@ -64,7 +64,7 @@ public:
// static GBAMPSaveFileManager* instance() { return instancePtr; }
- Common::SaveFile *openSavefile(const char *filename, bool saveOrLoad);
+ GBAMPSaveFile *openSavefile(const char *filename, bool saveOrLoad);
virtual Common::OutSaveFile* openForSaving(const char* filename) { return openSavefile(filename, true); }
virtual Common::InSaveFile* openForLoading(const char* filename) { return openSavefile(filename, false); }
@@ -74,9 +74,6 @@ public:
void deleteFile(char* name);
void listFiles();
-
-protected:
- Common::SaveFile *makeSaveFile(const char *filename, bool saveOrLoad);
};