aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/dc
diff options
context:
space:
mode:
authorMax Horn2009-01-22 23:14:16 +0000
committerMax Horn2009-01-22 23:14:16 +0000
commit94bfe1aa6fc71872214784128461709a6e421eac (patch)
tree799d75db584e3d623bc875db929e8491a1b5df62 /backends/platform/dc
parente260598bc9295d3c0ab6ea8eadc23a506e29af27 (diff)
downloadscummvm-rg350-94bfe1aa6fc71872214784128461709a6e421eac.tar.gz
scummvm-rg350-94bfe1aa6fc71872214784128461709a6e421eac.tar.bz2
scummvm-rg350-94bfe1aa6fc71872214784128461709a6e421eac.zip
Get rid of the wrappers around the zlib stream wrapper wrappers ;)
svn-id: r36007
Diffstat (limited to 'backends/platform/dc')
-rw-r--r--backends/platform/dc/vmsave.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/dc/vmsave.cpp b/backends/platform/dc/vmsave.cpp
index 05b459f40f..f91ec63128 100644
--- a/backends/platform/dc/vmsave.cpp
+++ b/backends/platform/dc/vmsave.cpp
@@ -30,7 +30,7 @@
#include <common/savefile.h>
#include <gui/GuiManager.h>
#include <gui/message.h>
-#include <backends/saves/compressed/compressed-saves.h>
+#include <common/zlib.h>
// Savegame can not be bigger than this
@@ -323,13 +323,13 @@ class VMSaveManager : public Common::SaveFileManager {
public:
virtual Common::OutSaveFile *openForSaving(const char *filename) {
- return wrapOutSaveFile(new OutVMSave(filename));
+ return Common::wrapCompressedWriteStream(new OutVMSave(filename));
}
virtual Common::InSaveFile *openForLoading(const char *filename) {
InVMSave *s = new InVMSave();
if (s->readSaveGame(filename)) {
- return wrapInSaveFile(s);
+ return Common::wrapCompressedReadStream(s);
} else {
delete s;
return NULL;