Skip to content

Commit

Permalink
SCI32: Update some old comments related to virtual files
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed May 27, 2017
1 parent 03c1b33 commit a8b3b67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/sci/engine/kfile.cpp
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit a8b3b67

Please sign in to comment.