[Scummvm-cvs-logs] SF.net SVN: scummvm:[44458] scummvm/trunk/engines/sci/engine/kscripts.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Tue Sep 29 09:40:04 CEST 2009
Revision: 44458
http://scummvm.svn.sourceforge.net/scummvm/?rev=44458&view=rev
Author: thebluegr
Date: 2009-09-29 07:40:04 +0000 (Tue, 29 Sep 2009)
Log Message:
-----------
QFG3 clears clones with underbits set, so disable the warning for this behavior
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kscripts.cpp
Modified: scummvm/trunk/engines/sci/engine/kscripts.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kscripts.cpp 2009-09-29 06:36:39 UTC (rev 44457)
+++ scummvm/trunk/engines/sci/engine/kscripts.cpp 2009-09-29 07:40:04 UTC (rev 44458)
@@ -142,7 +142,6 @@
SegManager *segMan = s->segMan;
reg_t victim_addr = argv[0];
Clone *victim_obj = s->segMan->getObject(victim_addr);
- uint16 underBits;
if (!victim_obj) {
error("Attempt to dispose non-class/object at %04x:%04x",
@@ -156,10 +155,10 @@
return s->r_acc;
}
- underBits = GET_SEL32V(victim_addr, underBits);
- if (underBits) {
- warning("Clone %04x:%04x was cleared with underBits set", PRINT_REG(victim_addr));
- }
+ // QFG3 clears clones with underbits set
+ //if (GET_SEL32V(victim_addr, underBits))
+ // warning("Clone %04x:%04x was cleared with underBits set", PRINT_REG(victim_addr));
+
#if 0
if (s->dyn_views) { // Free any widget associated with the clone
GfxWidget *widget = gfxw_set_id(gfxw_remove_ID(s->dyn_views, offset), GFXW_NO_ID);
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