mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
Ooops, the y offset in drawBackGround() should be based on state width too.
svn-id: r26843
This commit is contained in:
parent
2371b4ec03
commit
ee0cb9ee2d
@ -729,7 +729,7 @@ void AGOSEngine::drawBackGroundImage(VC10_state *state) {
|
||||
state->y_skip = 0;
|
||||
}
|
||||
|
||||
src = state->srcPtr + (_screenWidth * state->y_skip) + (state->x_skip * 8);
|
||||
src = state->srcPtr + (state->width * state->y_skip) + (state->x_skip * 8);
|
||||
dst = state->surf_addr;
|
||||
|
||||
state->draw_width *= 2;
|
||||
|
Loading…
Reference in New Issue
Block a user