aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo
diff options
context:
space:
mode:
authorMax Horn2010-10-30 21:25:30 +0000
committerMax Horn2010-10-30 21:25:30 +0000
commit9995c7bd980352be55807db03bf0bf2ed55e1d78 (patch)
treecaec78ef70048dfa0aa37074130dc1c913bb8b84 /engines/hugo
parent6c702094a8a2907b6e177124f424306b7a5a40ef (diff)
downloadscummvm-rg350-9995c7bd980352be55807db03bf0bf2ed55e1d78.tar.gz
scummvm-rg350-9995c7bd980352be55807db03bf0bf2ed55e1d78.tar.bz2
scummvm-rg350-9995c7bd980352be55807db03bf0bf2ed55e1d78.zip
HUGO: Comment out all occurrences of FILE *fpb
These are not portable, and (at least in the current code) do nothing useful either: a file is opened, and closed again, in write mode. At most this may create / delete the file. But since the method containing this code is never called... svn-id: r53957
Diffstat (limited to 'engines/hugo')
-rw-r--r--engines/hugo/file.cpp4
-rw-r--r--engines/hugo/file.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/engines/hugo/file.cpp b/engines/hugo/file.cpp
index 691536eff4..ebda0e9035 100644
--- a/engines/hugo/file.cpp
+++ b/engines/hugo/file.cpp
@@ -473,17 +473,19 @@ void FileManager::initSavedGame() {
void FileManager::openPlaybackFile(bool playbackFl, bool recordFl) {
debugC(1, kDebugFile, "openPlaybackFile(%d, %d)", (playbackFl) ? 1 : 0, (recordFl) ? 1 : 0);
+/*
if (playbackFl) {
if (!(fpb = fopen(PBFILE, "r+b")))
Utils::Error(FILE_ERR, "%s", PBFILE);
} else if (recordFl) {
fpb = fopen(PBFILE, "wb");
}
+*/
pbdata.time = 0; // Say no key available
}
void FileManager::closePlaybackFile() {
- fclose(fpb);
+// fclose(fpb);
}
void FileManager::printBootText() {
diff --git a/engines/hugo/file.h b/engines/hugo/file.h
index 5d8c8bd429..881cf3c4d7 100644
--- a/engines/hugo/file.h
+++ b/engines/hugo/file.h
@@ -96,7 +96,7 @@ private:
uif_hdr_t *getUIFHeader(uif_t id);
pbdata_t pbdata;
- FILE *fpb;
+// FILE *fpb;
//Strangerke : Not used?
void openPlaybackFile(bool playbackFl, bool recordFl);