aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2006-03-22 09:14:28 +0000
committerTravis Howell2006-03-22 09:14:28 +0000
commit857cf7189a402dd72a010f181d5beee053fdf951 (patch)
treecf82336c39f9e87bab84e29d5fb2e5c430b11b1d
parent00d44af2c19f6bb022f3bf22485e9ee2f611cc34 (diff)
downloadscummvm-rg350-857cf7189a402dd72a010f181d5beee053fdf951.tar.gz
scummvm-rg350-857cf7189a402dd72a010f181d5beee053fdf951.tar.bz2
scummvm-rg350-857cf7189a402dd72a010f181d5beee053fdf951.zip
Fix regression in 2nd room of FF
svn-id: r21402
-rw-r--r--engines/simon/vga.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/simon/vga.cpp b/engines/simon/vga.cpp
index 3a83002949..9ca4073cc2 100644
--- a/engines/simon/vga.cpp
+++ b/engines/simon/vga.cpp
@@ -768,9 +768,12 @@ void SimonEngine::vc10_draw() {
}
}
- state.width = state.draw_width = width; /* cl */
+ state.width = state.draw_width = width; /* cl */
state.height = state.draw_height = height; /* ch */
+ state.x_skip = 0; /* colums to skip = bh */
+ state.y_skip = 0; /* rows to skip = bl */
+
state.surf2_addr = getBackBuf();
state.surf2_pitch = _dxSurfacePitch;
@@ -795,9 +798,6 @@ bool SimonEngine::drawImages_clip(VC10_state *state) {
state->draw_width = state->width * 2;
}
- state->x_skip = 0; /* colums to skip = bh */
- state->y_skip = 0; /* rows to skip = bl */
-
cur = state->x;
if (cur < 0) {
do {