diff options
author | Chris Apers | 2003-08-11 08:25:11 +0000 |
---|---|---|
committer | Chris Apers | 2003-08-11 08:25:11 +0000 |
commit | e96658506184888213587df03e4e25d1b876cb77 (patch) | |
tree | 3b289279e08fd5ed0491aa90fe8273f387e9c9ee /backends | |
parent | 5485bddc0c9af94f57de12241f0a6496501f27a7 (diff) | |
download | scummvm-rg350-e96658506184888213587df03e4e25d1b876cb77.tar.gz scummvm-rg350-e96658506184888213587df03e4e25d1b876cb77.tar.bz2 scummvm-rg350-e96658506184888213587df03e4e25d1b876cb77.zip |
Fixed compilation error introduced by Marcus ;)
svn-id: r9639
Diffstat (limited to 'backends')
-rw-r--r-- | backends/PalmOS/Src/palmsave.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/backends/PalmOS/Src/palmsave.cpp b/backends/PalmOS/Src/palmsave.cpp index 224a5c12a7..caf2d1c885 100644 --- a/backends/PalmOS/Src/palmsave.cpp +++ b/backends/PalmOS/Src/palmsave.cpp @@ -99,15 +99,14 @@ int PalmSaveFile::fwrite(const void *buf, int size, int cnt) { class PalmSaveFileManager : public SaveFileManager { public: - SaveFile *open_savefile(const char *filename, bool saveOrLoad); - void list_savefiles(const char *prefix, bool *marks, int num); + SaveFile *open_savefile(const char *filename, const char *dirname, bool saveOrLoad); + void list_savefiles(const char *prefix, const char *directory, bool *marks, int num); }; SaveFile *PalmSaveFileManager::open_savefile(const char *filename, const char *dirname, bool saveOrLoad) { char buf[256]; join_paths(filename, dirname, buf, sizeof(buf)); - PalmSaveFile *sf = new PalmSaveFile(buf, (saveOrLoad? "wb":"rb")); if(!sf->is_open()) { @@ -118,7 +117,7 @@ SaveFile *PalmSaveFileManager::open_savefile(const char *filename, const char *d return sf; } -void PalmSaveFileManager::list_savefiles(const char *prefix, const char *direcory, bool *marks, int num) { +void PalmSaveFileManager::list_savefiles(const char *prefix, const char *directory, bool *marks, int num) { FileRef fileRef; // try to open the dir Err e = VFSFileOpen(gVars->volRefNum, directory, vfsModeRead, &fileRef); @@ -160,4 +159,4 @@ void PalmSaveFileManager::list_savefiles(const char *prefix, const char *direcor // OSystem SaveFileManager *OSystem_PALMOS::get_savefile_manager() { return new PalmSaveFileManager(); -} +}
\ No newline at end of file |