diff options
author | Filippos Karapetis | 2010-01-28 20:53:33 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-01-28 20:53:33 +0000 |
commit | 3c46bc33aae7783361882e85cb0cb3653af3ede8 (patch) | |
tree | aa9548f8ff7d9cc3a9d425fae3d57de19cd2ec07 /engines/sci | |
parent | 639fb4c3897f5d7c191ed084475549d6065cc18b (diff) | |
download | scummvm-rg350-3c46bc33aae7783361882e85cb0cb3653af3ede8.tar.gz scummvm-rg350-3c46bc33aae7783361882e85cb0cb3653af3ede8.tar.bz2 scummvm-rg350-3c46bc33aae7783361882e85cb0cb3653af3ede8.zip |
Disabled the automatic list fixing feature, introduced in rev. #47636 (there's no point in fixing lists created by game scripts)
svn-id: r47650
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/engine/klists.cpp | 7 |
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; } |