aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Tkachev2016-08-31 12:07:53 +0600
committerAlexander Tkachev2016-08-31 12:07:53 +0600
commit153f06b324c686b5b7a220ca59414adab14c2032 (patch)
treed7758cf832051f24ac04ea10b54f18e3c4c02526
parentd9fb4a2bc5ed99bc46e4d9ced3ef4bafa5dc5740 (diff)
downloadscummvm-rg350-153f06b324c686b5b7a220ca59414adab14c2032.tar.gz
scummvm-rg350-153f06b324c686b5b7a220ca59414adab14c2032.tar.bz2
scummvm-rg350-153f06b324c686b5b7a220ca59414adab14c2032.zip
N64: Fix OutSaveFile error
OutSaveFile was just a typedef of WriteStream once, but now it's not. These Out*Save classes are then wrapped with OutSaveFile, so it should be OK to derive them from WriteStream instead of OutSaveFile.
-rw-r--r--backends/platform/n64/framfs_save_manager.h2
-rw-r--r--backends/platform/n64/pakfs_save_manager.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/n64/framfs_save_manager.h b/backends/platform/n64/framfs_save_manager.h
index aa26942bdc..f2404285bb 100644
--- a/backends/platform/n64/framfs_save_manager.h
+++ b/backends/platform/n64/framfs_save_manager.h
@@ -65,7 +65,7 @@ public:
}
};
-class OutFRAMSave : public Common::OutSaveFile {
+class OutFRAMSave : public Common::WriteStream {
private:
FRAMFILE *fd;
diff --git a/backends/platform/n64/pakfs_save_manager.h b/backends/platform/n64/pakfs_save_manager.h
index 31aa01444c..16b6330b35 100644
--- a/backends/platform/n64/pakfs_save_manager.h
+++ b/backends/platform/n64/pakfs_save_manager.h
@@ -65,7 +65,7 @@ public:
}
};
-class OutPAKSave : public Common::OutSaveFile {
+class OutPAKSave : public Common::WriteStream {
private:
PAKFILE *fd;