aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2017-05-27 14:33:24 +0300
committerFilippos Karapetis2017-05-27 14:33:24 +0300
commita8b3b67d297407c1fa2d8a89893b6ee72caf488b (patch)
treedb499dc239109a3a08c0a7a3e4fb5b62427af439 /engines/sci
parent03c1b3307c401ddb2f9ee3eaebf3b7456a62a59d (diff)
downloadscummvm-rg350-a8b3b67d297407c1fa2d8a89893b6ee72caf488b.tar.gz
scummvm-rg350-a8b3b67d297407c1fa2d8a89893b6ee72caf488b.tar.bz2
scummvm-rg350-a8b3b67d297407c1fa2d8a89893b6ee72caf488b.zip
SCI32: Update some old comments related to virtual files
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kfile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp
index fd6fab6506..6c96607664 100644
--- a/engines/sci/engine/kfile.cpp
+++ b/engines/sci/engine/kfile.cpp
@@ -325,7 +325,7 @@ reg_t kFileIOOpen(EngineState *s, int argc, reg_t *argv) {
return SIGNAL_REG;
} else if (mode == _K_FILE_MODE_OPEN_OR_FAIL) {
// Create a virtual file containing the save game description
- // and slot number, as the game scripts expect.
+ // and current score progress, as the game scripts expect.
int saveNo;
sscanf(name.c_str(), "%d.SG", &saveNo);
saveNo += kSaveIdShift;
@@ -365,7 +365,7 @@ reg_t kFileIOOpen(EngineState *s, int argc, reg_t *argv) {
return SIGNAL_REG;
} else if (mode == _K_FILE_MODE_OPEN_OR_FAIL) {
// Create a virtual file containing the save game description
- // and slot number, as the game scripts expect.
+ // and avatar ID, as the game scripts expect.
int saveNo;
sscanf(name.c_str(), "%d.DTA", &saveNo);
saveNo += kSaveIdShift;