diff options
author | Max Horn | 2009-09-17 16:50:53 +0000 |
---|---|---|
committer | Max Horn | 2009-09-17 16:50:53 +0000 |
commit | eb77efda785dd7df31a90fb3fd57ea17bf49a606 (patch) | |
tree | 5a31e8292859154a920a0abdf945df0cbd0e4ab4 /engines/sci/engine/gc.cpp | |
parent | 9651562e72ac4c73393a2aba87e835269c25210f (diff) | |
download | scummvm-rg350-eb77efda785dd7df31a90fb3fd57ea17bf49a606.tar.gz scummvm-rg350-eb77efda785dd7df31a90fb3fd57ea17bf49a606.tar.bz2 scummvm-rg350-eb77efda785dd7df31a90fb3fd57ea17bf49a606.zip |
SCI: Add a global getSciVersion() function and make use of it
svn-id: r44170
Diffstat (limited to 'engines/sci/engine/gc.cpp')
-rw-r--r-- | engines/sci/engine/gc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/gc.cpp b/engines/sci/engine/gc.cpp index 5e5db1f8a4..d9635bff73 100644 --- a/engines/sci/engine/gc.cpp +++ b/engines/sci/engine/gc.cpp @@ -134,7 +134,7 @@ reg_t_hash_map *find_all_used_references(EngineState *s) { if (reg.segment != s->stack_segment) { // No need to repeat this one debugC(2, kDebugLevelGC, "[GC] Checking %04x:%04x\n", PRINT_REG(reg)); if (reg.segment < segMan->_heap.size() && segMan->_heap[reg.segment]) - segMan->_heap[reg.segment]->listAllOutgoingReferences(reg, &wm, add_outgoing_refs, s->resMan->sciVersion()); + segMan->_heap[reg.segment]->listAllOutgoingReferences(reg, &wm, add_outgoing_refs); } } |