aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-22 21:19:03 +0000
committerMartin Kiewitz2009-10-22 21:19:03 +0000
commit12cdcea516530fbcf2744f59f6eefe8f4f9452a8 (patch)
tree2bba4bc96bc9ae3ad38390c937156f79992915d7
parent4095d92a5e6ff7a114d7e175fc66c693de4ef5cb (diff)
downloadscummvm-rg350-12cdcea516530fbcf2744f59f6eefe8f4f9452a8.tar.gz
scummvm-rg350-12cdcea516530fbcf2744f59f6eefe8f4f9452a8.tar.bz2
scummvm-rg350-12cdcea516530fbcf2744f59f6eefe8f4f9452a8.zip
SCI: kAnimate disable throttler for SCI0 and SCI01 games cause of issues in at least kq1. temporary solution only!
svn-id: r45341
-rw-r--r--engines/sci/engine/kgraphics.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index e950bb509a..e22637d2bd 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -952,6 +952,11 @@ reg_t kAnimate(EngineState *s, int argc, reg_t *argv) {
// FIXME? currenty this speed throttling causes flickering in kq6 (when looking at the box)
// this will get possibly fixed when reanimate and real cel updates within kAnimate are implemented
+ // At least kq1 gets broken by the throttler (actually "just" some animations are missing cause the game thinks we are
+ // too slow, so also disable us for SCI0 and SCI01 games
+ if (getSciVersion() <= SCI_VERSION_01)
+ return s->r_acc;
+
// FIXME: qfg3 gets broken by this, BUT even changing neededSleep to 2 still makes it somewhat broken (palette animation
// isnt working)