diff options
author | Martin Kiewitz | 2010-06-30 09:47:04 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-06-30 09:47:04 +0000 |
commit | 7595e7c1bec5e56e9ddaabea4b6af43423e8e002 (patch) | |
tree | eadfae6df959f0fcd3a4ff076a51e1f266a77d4a /engines/sci/engine/kscripts.cpp | |
parent | c7f6a5b286bad600c987922396b7328079890342 (diff) | |
download | scummvm-rg350-7595e7c1bec5e56e9ddaabea4b6af43423e8e002.tar.gz scummvm-rg350-7595e7c1bec5e56e9ddaabea4b6af43423e8e002.tar.bz2 scummvm-rg350-7595e7c1bec5e56e9ddaabea4b6af43423e8e002.zip |
SCI: implementing workarounds for kernel calls, removing original code workaround for kDisposeScript / qfg1 room 64 and adding it to workaround table
svn-id: r50520
Diffstat (limited to 'engines/sci/engine/kscripts.cpp')
-rw-r--r-- | engines/sci/engine/kscripts.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/sci/engine/kscripts.cpp b/engines/sci/engine/kscripts.cpp index 8f41fbad2e..4f4df7d875 100644 --- a/engines/sci/engine/kscripts.cpp +++ b/engines/sci/engine/kscripts.cpp @@ -228,10 +228,6 @@ reg_t kScriptID(EngineState *s, int argc, reg_t *argv) { reg_t kDisposeScript(EngineState *s, int argc, reg_t *argv) { int script = argv[0].offset; - // Work around QfG1 graveyard bug - if (argv[0].segment) - return s->r_acc; - SegmentId id = s->_segMan->getScriptSegment(script); Script *scr = s->_segMan->getScriptIfLoaded(id); if (scr) { |