diff options
author | Alexander Tkachev | 2016-08-31 12:38:40 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-31 12:38:40 +0600 |
commit | 7f913c831d32d597faa377950ce9529c7c5fd18c (patch) | |
tree | 110c9bcfd27854574297b712acbf264b3c4b3833 /backends/platform/n64 | |
parent | 9d6ae2a33ff842e1089eabea5ec271f45916e51b (diff) | |
download | scummvm-rg350-7f913c831d32d597faa377950ce9529c7c5fd18c.tar.gz scummvm-rg350-7f913c831d32d597faa377950ce9529c7c5fd18c.tar.bz2 scummvm-rg350-7f913c831d32d597faa377950ce9529c7c5fd18c.zip |
DS, N64: Fix openForSaving()
Fails to build because OutSaveFile's name should've been qualified.
Diffstat (limited to 'backends/platform/n64')
-rw-r--r-- | backends/platform/n64/framfs_save_manager.h | 2 | ||||
-rw-r--r-- | backends/platform/n64/pakfs_save_manager.h | 2 |
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 4696794fe9..24f9bf10ce 100644 --- a/backends/platform/n64/framfs_save_manager.h +++ b/backends/platform/n64/framfs_save_manager.h @@ -121,7 +121,7 @@ public: virtual Common::OutSaveFile *openForSaving(const Common::String &filename, bool compress = true) { OutFRAMSave *s = new OutFRAMSave(filename.c_str()); if (!s->err()) { - return new OutSaveFile(compress ? Common::wrapCompressedWriteStream(s) : s); + return new Common::OutSaveFile(compress ? Common::wrapCompressedWriteStream(s) : s); } else { delete s; return 0; diff --git a/backends/platform/n64/pakfs_save_manager.h b/backends/platform/n64/pakfs_save_manager.h index f69d91005b..8e16d1fce4 100644 --- a/backends/platform/n64/pakfs_save_manager.h +++ b/backends/platform/n64/pakfs_save_manager.h @@ -123,7 +123,7 @@ public: virtual Common::OutSaveFile *openForSaving(const Common::String &filename, bool compress = true) { OutPAKSave *s = new OutPAKSave(filename.c_str()); if (!s->err()) { - return new OutSaveFile(compress ? Common::wrapCompressedWriteStream(s) : s); + return new Common::OutSaveFile(compress ? Common::wrapCompressedWriteStream(s) : s); } else { delete s; return NULL; |