aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ps2
diff options
context:
space:
mode:
authorMax Horn2007-12-30 13:05:38 +0000
committerMax Horn2007-12-30 13:05:38 +0000
commitc54562d9a3fbcc6bc2249e7e36a92ead78165653 (patch)
tree9d41d71c915942a42917a1b5c8e1a1138ea52792 /backends/platform/ps2
parent0d3092689b6134671ec8ad1ec767bced43a32333 (diff)
downloadscummvm-rg350-c54562d9a3fbcc6bc2249e7e36a92ead78165653.tar.gz
scummvm-rg350-c54562d9a3fbcc6bc2249e7e36a92ead78165653.tar.bz2
scummvm-rg350-c54562d9a3fbcc6bc2249e7e36a92ead78165653.zip
The PS2, DS and PalmOS ports currently do not properly implement their SaveFileManagers -- flagging the incorrect & invalid code by making it not compile. Note: Portser should probably also fix their code in the 0.11 branch
svn-id: r30079
Diffstat (limited to 'backends/platform/ps2')
-rw-r--r--backends/platform/ps2/savefile.cpp13
-rw-r--r--backends/platform/ps2/savefile.h2
2 files changed, 14 insertions, 1 deletions
diff --git a/backends/platform/ps2/savefile.cpp b/backends/platform/ps2/savefile.cpp
index 84bee4cf35..3865278788 100644
--- a/backends/platform/ps2/savefile.cpp
+++ b/backends/platform/ps2/savefile.cpp
@@ -442,6 +442,17 @@ Common::OutSaveFile *Ps2SaveFileManager::openForSaving(const char *filename) {
return NULL;
}
+void Ps2SaveFileManager::removeSavefile(const char *filename) {
+ TODO: Implement this.
+}
+
+Common::StringList Ps2SaveFileManager::listSavefiles(const char *pattern) {
+ TODO: Implement this. If you don't understand what it should do, just ask
+ (e.g. on scummvm-devel or Fingolfin). It should be pretty simple if you
+ use Common::matchString from common/util.h and read the Doxygen docs,
+ then combine this with the old code below...
+
+/*
void Ps2SaveFileManager::listSavefiles(const char *prefix, bool *marks, int num) {
_screen->wantAnim(true);
@@ -483,6 +494,8 @@ void Ps2SaveFileManager::listSavefiles(const char *prefix, bool *marks, int num)
}
_screen->wantAnim(false);
}
+*/
+
bool Ps2SaveFileManager::setupIcon(const char *dest, const char *ico, const char *descr1, const char *descr2) {
mcIcon icon_sys;
diff --git a/backends/platform/ps2/savefile.h b/backends/platform/ps2/savefile.h
index 5e3c12beb7..f72177e7ca 100644
--- a/backends/platform/ps2/savefile.h
+++ b/backends/platform/ps2/savefile.h
@@ -40,7 +40,7 @@ public:
virtual Common::InSaveFile *openForLoading(const char *filename);
virtual Common::OutSaveFile *openForSaving(const char *filename);
- virtual void listSavefiles(const char *prefix, bool *marks, int num);
+ virtual Common::StringList listSavefiles(const char *pattern);
void writeSaveNonblocking(char *name, void *buf, uint32 size);
void saveThread(void);