From 9ad3712aa30944fa3bdc5e03eb87499daf626592 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Tue, 2 Feb 2016 19:58:30 +0100 Subject: AGI: Add WORKAROUND comment to "render after menu" see commit 0b75bf37219cf49f274da330a44e81068152599c Original AGI did not do, what we are doing now --- engines/agi/menu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/agi/menu.cpp') diff --git a/engines/agi/menu.cpp b/engines/agi/menu.cpp index df77587abb..3f1cdd2c7d 100644 --- a/engines/agi/menu.cpp +++ b/engines/agi/menu.cpp @@ -357,8 +357,9 @@ void GfxMenu::execute() { _text->statusDraw(); } else { if (_text->getWindowRowMin() == 0) { - // Playarea starts right at the stop, so instead of clearing that part, render it from playarea + // WORKAROUND: Playarea starts right at the stop, so instead of clearing that part, render it from playarea // Required for at least Donald Duck + // This was not done by original AGI, which means the upper pixel line were cleared in this case. _gfx->render_Block(0, (1 * FONT_VISUAL_HEIGHT) - 1, SCRIPT_WIDTH, FONT_VISUAL_HEIGHT); } else { _text->clearLine(0, 0); -- cgit v1.2.3