aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/m4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/m4/m4.cpp')
-rw-r--r--engines/m4/m4.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/m4/m4.cpp b/engines/m4/m4.cpp
index a999a6bd5a..34fcef7c88 100644
--- a/engines/m4/m4.cpp
+++ b/engines/m4/m4.cpp
@@ -267,6 +267,9 @@ void MadsM4Engine::loadMenu(MenuType menuType, bool loadSaveFromHotkey, bool cal
}
void MadsM4Engine::dumpFile(const char* filename, bool uncompress) {
+#if 0
+ // FIXME: The following code is not portable and hence has been disabled.
+ // Try replacing FILE by Common::DumpFile.
Common::SeekableReadStream *fileS = res()->get(filename);
byte buffer[256];
FILE *destFile = fopen(filename, "wb");
@@ -295,6 +298,7 @@ void MadsM4Engine::dumpFile(const char* filename, bool uncompress) {
fclose(destFile);
res()->toss(filename);
res()->purge();
+#endif
}
/*--------------------------------------------------------------------------*/