[Scummvm-cvs-logs] SF.net SVN: scummvm:[47650] scummvm/trunk/engines/sci/engine/klists.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Thu Jan 28 21:53:33 CET 2010
Revision: 47650
http://scummvm.svn.sourceforge.net/scummvm/?rev=47650&view=rev
Author: thebluegr
Date: 2010-01-28 20:53:33 +0000 (Thu, 28 Jan 2010)
Log Message:
-----------
Disabled the automatic list fixing feature, introduced in rev. #47636 (there's no point in fixing lists created by game scripts)
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/klists.cpp
Modified: scummvm/trunk/engines/sci/engine/klists.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/klists.cpp 2010-01-28 20:29:45 UTC (rev 47649)
+++ scummvm/trunk/engines/sci/engine/klists.cpp 2010-01-28 20:53:33 UTC (rev 47650)
@@ -44,7 +44,8 @@
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 @@
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 @@
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;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list