diff options
-rw-r--r-- | engines/simon/vga.cpp | 8 |
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 { |