aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/klists.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/engine/klists.cpp')
-rw-r--r--engines/sci/engine/klists.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/sci/engine/klists.cpp b/engines/sci/engine/klists.cpp
index b58d6c6747..86ddc2a2d0 100644
--- a/engines/sci/engine/klists.cpp
+++ b/engines/sci/engine/klists.cpp
@@ -44,7 +44,8 @@ static bool isSaneNodePointer(SegManager *segMan, reg_t addr) {
warning("isSaneNodePointer: Node at %04x:%04x points to invalid predecessor %04x:%04x (should be %04x:%04x)",
PRINT_REG(addr), PRINT_REG(node->pred), PRINT_REG(prev));
- node->pred = prev; // fix the problem in the node
+ //node->pred = prev; // fix the problem in the node
+ return false;
}
prev = addr;
@@ -85,7 +86,7 @@ static void checkListPointer(SegManager *segMan, reg_t addr) {
warning("isSaneListPointer (list %04x:%04x): First node of the list points to a predecessor node",
PRINT_REG(addr));
- node_a->pred = NULL_REG; // fix the problem in the node
+ //node_a->pred = NULL_REG; // fix the problem in the node
return;
}
@@ -94,7 +95,7 @@ static void checkListPointer(SegManager *segMan, reg_t addr) {
warning("isSaneListPointer (list %04x:%04x): Last node of the list points to a successor node",
PRINT_REG(addr));
- node_z->succ = NULL_REG; // fix the problem in the node
+ //node_z->succ = NULL_REG; // fix the problem in the node
return;
}