diff options
author | Travis Howell | 2005-11-17 10:49:39 +0000 |
---|---|---|
committer | Travis Howell | 2005-11-17 10:49:39 +0000 |
commit | 86a5dcde24096f49ead907381f361ac7c2f6f9e8 (patch) | |
tree | c92f78dae7c21d63bddec0da37bf63a43fcd6da9 /scumm | |
parent | 909f531220843a3916a143b2481a11c71edd5b17 (diff) | |
download | scummvm-rg350-86a5dcde24096f49ead907381f361ac7c2f6f9e8.tar.gz scummvm-rg350-86a5dcde24096f49ead907381f361ac7c2f6f9e8.tar.bz2 scummvm-rg350-86a5dcde24096f49ead907381f361ac7c2f6f9e8.zip |
Update comments.
svn-id: r19621
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script.cpp | 6 | ||||
-rw-r--r-- | scumm/script_v72he.cpp | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index bfacd73e04..239acf4e86 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -583,14 +583,14 @@ void ScummEngine::writeVar(uint var, int value) { checkRange(_numVariables - 1, 0, var, "Variable %d out of range(w)"); if (VAR_SUBTITLES != 0xFF && var == VAR_SUBTITLES) { - // Ignore default setting in HE60/61 games - if (_heversion >= 70 && vm.slot[_currentScript].number == 1) + // Ignore default setting in HE72-73 games + if (_heversion <= 73 && vm.slot[_currentScript].number == 1) return; assert(value == 0 || value == 1); ConfMan.set("subtitles", value); } if (VAR_NOSUBTITLES != 0xFF && var == VAR_NOSUBTITLES) { - // Ignore default setting in HE60/61 games + // Ignore default setting in HE60-71 games if (_heversion >= 60 && vm.slot[_currentScript].number == 1) return; assert(value == 0 || value == 1); diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 2930f8f6f6..5b0812b4bb 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -525,6 +525,8 @@ void ScummEngine_v72he::readArrayFromIndexFile() { } int ScummEngine_v72he::convertFilePath(byte *dst, bool setFilePath) { + debug(0, "convertFilePath: original filePath is %s", dst); + // Switch all \ to / for portablity int len = resStrLen(dst) + 1; for (int i = 0; i < len; i++) { |