diff options
-rw-r--r-- | engines/sci/engine/kfile.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp index bd586e5565..717ca9d25f 100644 --- a/engines/sci/engine/kfile.cpp +++ b/engines/sci/engine/kfile.cpp @@ -592,12 +592,10 @@ reg_t kRestoreGame(EngineState *s, int argc, reg_t *argv) { reg_t kValidPath(EngineState *s, int argc, reg_t *argv) { Common::String path = s->_segMan->getString(argv[0]); - // FIXME: For now, we only accept the (fake) dir "" as a valid path. - s->r_acc = make_reg(0, path == ""); - debug(3, "kValidPath(%s) -> %d", path.c_str(), s->r_acc.offset); - return s->r_acc; + // Always return true + return make_reg(0, 1); } enum { |