diff options
Diffstat (limited to 'engines/agi/picture.cpp')
-rw-r--r-- | engines/agi/picture.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/engines/agi/picture.cpp b/engines/agi/picture.cpp index 0be2de7089..a80e811f44 100644 --- a/engines/agi/picture.cpp +++ b/engines/agi/picture.cpp @@ -1001,7 +1001,7 @@ void PictureMgr::clear() { void PictureMgr::showPic() { debugC(8, kDebugLevelMain, "Show picture!"); - _gfx->render_Block(0, 167, SCRIPT_WIDTH, SCRIPT_HEIGHT); + _gfx->render_Block(0, 0, SCRIPT_WIDTH, SCRIPT_HEIGHT); } /** @@ -1014,8 +1014,7 @@ void PictureMgr::showPic(int16 x, int16 y, int16 pic_width, int16 pic_height) { debugC(8, kDebugLevelMain, "Show picture!"); - // render block requires lower left coordinate! - _gfx->render_Block(x, pic_height + y - 1, pic_width, pic_height); + _gfx->render_Block(x, y, pic_width, pic_height); } void PictureMgr::showPicWithTransition() { @@ -1038,13 +1037,13 @@ void PictureMgr::showPicWithTransition() { case Common::kRenderAmiga: case Common::kRenderApple2GS: // Platform Amiga/Apple II GS -> render and do Amiga transition - _gfx->render_Block(0, 167, SCRIPT_WIDTH, SCRIPT_HEIGHT, false); + _gfx->render_Block(0, 0, SCRIPT_WIDTH, SCRIPT_HEIGHT, false); _gfx->transition_Amiga(); return; break; case Common::kRenderAtariST: // Platform Atari ST used a different transition, looks "high-res" (full 320x168) - _gfx->render_Block(0, 167, SCRIPT_WIDTH, SCRIPT_HEIGHT, false); + _gfx->render_Block(0, 0, SCRIPT_WIDTH, SCRIPT_HEIGHT, false); _gfx->transition_AtariSt(); return; default: @@ -1054,7 +1053,7 @@ void PictureMgr::showPicWithTransition() { } } - _gfx->render_Block(0, 167, SCRIPT_WIDTH, SCRIPT_HEIGHT); + _gfx->render_Block(0, 0, SCRIPT_WIDTH, SCRIPT_HEIGHT); } // preagi needed functions (for plotPattern) |