diff options
author | Max Horn | 2010-10-30 21:25:30 +0000 |
---|---|---|
committer | Max Horn | 2010-10-30 21:25:30 +0000 |
commit | 9995c7bd980352be55807db03bf0bf2ed55e1d78 (patch) | |
tree | caec78ef70048dfa0aa37074130dc1c913bb8b84 /engines/hugo/file.cpp | |
parent | 6c702094a8a2907b6e177124f424306b7a5a40ef (diff) | |
download | scummvm-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/file.cpp')
-rw-r--r-- | engines/hugo/file.cpp | 4 |
1 files changed, 3 insertions, 1 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() { |