Fix regression in 2nd room of FF

svn-id: r21402
This commit is contained in:
Travis Howell 2006-03-22 09:14:28 +00:00
parent 00d44af2c1
commit 857cf7189a

View File

@ -771,6 +771,9 @@ 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.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_addr = getBackBuf();
state.surf2_pitch = _dxSurfacePitch; state.surf2_pitch = _dxSurfacePitch;
@ -795,9 +798,6 @@ bool SimonEngine::drawImages_clip(VC10_state *state) {
state->draw_width = state->width * 2; 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; cur = state->x;
if (cur < 0) { if (cur < 0) {
do { do {