SCI32: Fix call to kFileIOIsValidDirectory in RAMA
This commit is contained in:
parent
10a4e5d591
commit
205f8c4a59
2 changed files with 5 additions and 4 deletions
|
@ -332,7 +332,7 @@ static const SciKernelMapSubEntry kFileIO_subops[] = {
|
|||
{ SIG_SINCE_SCI21MID, 16, MAP_CALL(FileIOWriteWord), "ii", NULL },
|
||||
{ SIG_SINCE_SCI21MID, 17, "FileIOCheckFreeSpace", kCheckFreeSpace, "i(r)", NULL },
|
||||
{ SIG_SINCE_SCI21MID, 18, MAP_CALL(FileIOGetCWD), "r", NULL },
|
||||
{ SIG_SINCE_SCI21MID, 19, MAP_CALL(FileIOIsValidDirectory), "r", NULL },
|
||||
{ SIG_SINCE_SCI21MID, 19, MAP_CALL(FileIOIsValidDirectory), "[ro]", NULL },
|
||||
#endif
|
||||
SCI_SUBOPENTRY_TERMINATOR
|
||||
};
|
||||
|
|
|
@ -864,9 +864,10 @@ reg_t kFileIOGetCWD(EngineState *s, int argc, reg_t *argv) {
|
|||
}
|
||||
|
||||
reg_t kFileIOIsValidDirectory(EngineState *s, int argc, reg_t *argv) {
|
||||
// Used in Torin's Passage and LSL7 to determine if the directory passed as
|
||||
// a parameter (usually the save directory) is valid. We always return true
|
||||
// here.
|
||||
// Used in Torin's Passage, LSL7, and RAMA to determine if the directory
|
||||
// passed as a parameter (usually the save directory) is valid. We always
|
||||
// return true here because we do not use this directory information when
|
||||
// saving games.
|
||||
return TRUE_REG;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue