aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
diff options
context:
space:
mode:
authorMax Horn2008-03-19 10:18:05 +0000
committerMax Horn2008-03-19 10:18:05 +0000
commit63c09d5a40d70ff7dd96b691a6a413d9d65a8c22 (patch)
treedaf34d937a892579f854ea103331de98a0f320de /engines/lure
parent98a851d25edf8e3b463e3c8114959fe1edc32a48 (diff)
downloadscummvm-rg350-63c09d5a40d70ff7dd96b691a6a413d9d65a8c22.tar.gz
scummvm-rg350-63c09d5a40d70ff7dd96b691a6a413d9d65a8c22.tar.bz2
scummvm-rg350-63c09d5a40d70ff7dd96b691a6a413d9d65a8c22.zip
Removed some unportable and unused code ;-)
svn-id: r31193
Diffstat (limited to 'engines/lure')
-rw-r--r--engines/lure/memory.cpp8
-rw-r--r--engines/lure/memory.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/engines/lure/memory.cpp b/engines/lure/memory.cpp
index a18e512d8e..042bed2bec 100644
--- a/engines/lure/memory.cpp
+++ b/engines/lure/memory.cpp
@@ -99,12 +99,4 @@ void MemoryBlock::reallocate(uint32 size1) {
if (!_data) error ("Failed reallocating memory block");
}
-void MemoryBlock::saveToFile(const Common::String &filename) {
- Common::File *f = new Common::File();
- f->open(filename.c_str(), Common::File::kFileWriteMode);
- f->write(_data, _size);
- f->close();
- delete f;
-}
-
} // end of namespace Lure
diff --git a/engines/lure/memory.h b/engines/lure/memory.h
index 859ce0b33c..730e3656e3 100644
--- a/engines/lure/memory.h
+++ b/engines/lure/memory.h
@@ -50,7 +50,6 @@ public:
void copyFrom(MemoryBlock *src, uint32 srcPos, uint32 destPos, uint32 srcLen);
void copyFrom(const byte *src, uint32 srcPos, uint32 destPos, uint32 srcLen);
void reallocate(uint32 size);
- void saveToFile(const Common::String &filename);
};
class Memory {