From 94bfe1aa6fc71872214784128461709a6e421eac Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 22 Jan 2009 23:14:16 +0000 Subject: Get rid of the wrappers around the zlib stream wrapper wrappers ;) svn-id: r36007 --- backends/platform/dc/vmsave.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'backends/platform/dc') 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 #include #include -#include +#include // 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; -- cgit v1.2.3