aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorTravis Howell2007-06-05 12:32:43 +0000
committerTravis Howell2007-06-05 12:32:43 +0000
commitf11c51f487eadbbba9c6ed1e3230843ff4905c9c (patch)
tree125911f0778607e8f77ed286f08661ec1bd7d9ef /engines/agos
parentdf324b90d81ff78088b242f23db443fb49235f3e (diff)
downloadscummvm-rg350-f11c51f487eadbbba9c6ed1e3230843ff4905c9c.tar.gz
scummvm-rg350-f11c51f487eadbbba9c6ed1e3230843ff4905c9c.tar.bz2
scummvm-rg350-f11c51f487eadbbba9c6ed1e3230843ff4905c9c.zip
Fix background of pause options in Amiga and AtariST of Elvira 1.
svn-id: r27106
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/script_e1.cpp21
1 files changed, 5 insertions, 16 deletions
diff --git a/engines/agos/script_e1.cpp b/engines/agos/script_e1.cpp
index 60e49a1499..be60a4b14a 100644
--- a/engines/agos/script_e1.cpp
+++ b/engines/agos/script_e1.cpp
@@ -1203,25 +1203,14 @@ uint AGOSEngine::continueOrQuit() {
}
void AGOSEngine::printScroll() {
- VC10_state state;
VgaPointersEntry *vpe = &_vgaBufferPointers[1];
+ byte *curVgaFile2Orig = _curVgaFile2;
- state.srcPtr = vpe->vgaFile2 + READ_BE_UINT32(vpe->vgaFile2 + 9 * 8);
+ _windowNum = 3;
+ _curVgaFile2 = vpe->vgaFile2;
+ drawImage_init(9, 0, 10, 32, 0);
- state.palette = 0;
- state.paletteMod = 0;
- state.x = 10;
- state.y = 32;
- state.width = state.draw_width = 10;
- state.height = state.draw_height = 72;
- state.flags = kDFCompressed;
- _windowNum = 3;
-
- state.depack_cont = -0x80;
- state.x_skip = 0;
- state.y_skip = 0;
-
- drawImage(&state);
+ _curVgaFile2 = curVgaFile2Orig;
}
} // End of namespace AGOS