[Scummvm-cvs-logs] scummvm master -> 167ff5dd1b6a9670be5e712c36bff92d9d6a4bf0
clone2727
clone2727 at gmail.com
Wed Mar 2 16:21:13 CET 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
167ff5dd1b SCI: Fix garbage collection for SCI32
Commit: 167ff5dd1b6a9670be5e712c36bff92d9d6a4bf0
https://github.com/scummvm/scummvm/commit/167ff5dd1b6a9670be5e712c36bff92d9d6a4bf0
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2011-03-02T07:20:31-08:00
Commit Message:
SCI: Fix garbage collection for SCI32
SCI32 has no ports
Changed paths:
engines/sci/engine/gc.cpp
diff --git a/engines/sci/engine/gc.cpp b/engines/sci/engine/gc.cpp
index 15be17f..85238ec 100644
--- a/engines/sci/engine/gc.cpp
+++ b/engines/sci/engine/gc.cpp
@@ -155,7 +155,9 @@ AddrSet *findAllActiveReferences(EngineState *s) {
debugC(kDebugLevelGC, "[GC] -- Finished explicitly loaded scripts, done with root set");
processWorkList(s->_segMan, wm, heap);
- processEngineHunkList(wm);
+
+ if (getSciVersion() <= SCI_VERSION_1_1)
+ processEngineHunkList(wm);
return normalizeAddresses(s->_segMan, wm._map);
}
More information about the Scummvm-git-logs
mailing list