aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2009-02-04 05:52:14 +0000
committerTravis Howell2009-02-04 05:52:14 +0000
commit885922240ef8223977fd53f3c205349eda825dbb (patch)
tree88bd11f8143b1589aac9d20dcd1c82a70114e55e /engines
parente504c0d8abb53d934c090c1b0cc10d43c2293bcd (diff)
downloadscummvm-rg350-885922240ef8223977fd53f3c205349eda825dbb.tar.gz
scummvm-rg350-885922240ef8223977fd53f3c205349eda825dbb.tar.bz2
scummvm-rg350-885922240ef8223977fd53f3c205349eda825dbb.zip
Fix startup of AtariST demo of Elvira 1.
svn-id: r36212
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/agos.cpp18
1 files changed, 3 insertions, 15 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp
index b86a914bac..b737542230 100644
--- a/engines/agos/agos.cpp
+++ b/engines/agos/agos.cpp
@@ -994,22 +994,10 @@ Common::Error AGOSEngine::go() {
if (getGameType() == GType_ELVIRA1 && getPlatform() == Common::kPlatformAtariST &&
(getFeatures() & GF_DEMO)) {
- int i;
+ setWindowImage(3, 9900);
+ while (!shouldQuit())
+ delay(0);
- while (!shouldQuit()) {
- for (i = 0; i < 4; i++) {
- setWindowImage(3, 9902 + i);
- debug(0, "Displaying image %d", 9902 + i);
- delay(3000);
-
- }
-
- for (i = 4; i < 16; i++) {
- setWindowImage(4, 9902 + i);
- debug(0, "Displaying image %d", 9902 + i);
- delay(3000);
- }
- }
}
if (getGameType() == GType_ELVIRA1 && getFeatures() & GF_DEMO) {