aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);