aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/engine/kfile.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp
index d87013f01c..f32888b80c 100644
--- a/engines/sci/engine/kfile.cpp
+++ b/engines/sci/engine/kfile.cpp
@@ -443,6 +443,10 @@ reg_t kFileIOOpen(EngineState *s, int argc, reg_t *argv) {
// Ignore the censorship password file in lieu of our game option
return SIGNAL_REG;
} else if (g_sci->getGameId() == GID_RAMA) {
+ if (name == "PREF.DAT") {
+ return SIGNAL_REG;
+ }
+
int saveNo = -1;
if (name == "911.sg") {
saveNo = kAutoSaveId;