aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorTravis Howell2007-05-28 13:01:08 +0000
committerTravis Howell2007-05-28 13:01:08 +0000
commitd877a0a8d1bde533ef558c8f7dffb15275285e4a (patch)
treef35e337d34db54e99d4990e55ef2555cbcb96027 /engines/agos
parent0c27b668076af14e5d117cdaa44679728f8f78cd (diff)
downloadscummvm-rg350-d877a0a8d1bde533ef558c8f7dffb15275285e4a.tar.gz
scummvm-rg350-d877a0a8d1bde533ef558c8f7dffb15275285e4a.tar.bz2
scummvm-rg350-d877a0a8d1bde533ef558c8f7dffb15275285e4a.zip
Fix glitches in AtariST demo of Elvira 1.
svn-id: r26997
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/agos.cpp4
-rw-r--r--engines/agos/draw.cpp10
2 files changed, 12 insertions, 2 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp
index c9050bee87..7424e5782a 100644
--- a/engines/agos/agos.cpp
+++ b/engines/agos/agos.cpp
@@ -968,14 +968,14 @@ int AGOSEngine::go() {
for (i = 0; i < 4; i++) {
setWindowImage(3, 9902 + i);
debug(0, "Displaying image %d", 9902 + i);
- delay(1000);
+ delay(3000);
}
for (i = 4; i < 16; i++) {
setWindowImage(4, 9902 + i);
debug(0, "Displaying image %d", 9902 + i);
- delay(1000);
+ delay(3000);
}
}
}
diff --git a/engines/agos/draw.cpp b/engines/agos/draw.cpp
index 5b5b42cbbb..45c6d4a6da 100644
--- a/engines/agos/draw.cpp
+++ b/engines/agos/draw.cpp
@@ -306,6 +306,11 @@ void AGOSEngine::dirtyClips() {
}
void AGOSEngine::restoreBackGround() {
+ if (getGameType() == GType_ELVIRA1 && getPlatform() == Common::kPlatformAtariST &&
+ (getFeatures() & GF_DEMO)) {
+ return;
+ }
+
AnimTable *animTable;
uint images = 0;
@@ -361,6 +366,11 @@ void AGOSEngine::restoreBackGround() {
}
void AGOSEngine::saveBackGround(VgaSprite *vsp) {
+ if (getGameType() == GType_ELVIRA1 && getPlatform() == Common::kPlatformAtariST &&
+ (getFeatures() & GF_DEMO)) {
+ return;
+ }
+
if ((vsp->flags & kDFSkipStoreBG) || !vsp->image)
return;