mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
Fix regression in 2nd room of FF
svn-id: r21402
This commit is contained in:
parent
00d44af2c1
commit
857cf7189a
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user