aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/menu.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2016-02-02 19:58:30 +0100
committerMartin Kiewitz2016-02-02 19:58:55 +0100
commit9ad3712aa30944fa3bdc5e03eb87499daf626592 (patch)
tree5c693cb7d303dea0cf6852b7fafd56a06c45d6d1 /engines/agi/menu.cpp
parentec36a50fa4f6a670a6fddec2c9c3f21979454fae (diff)
downloadscummvm-rg350-9ad3712aa30944fa3bdc5e03eb87499daf626592.tar.gz
scummvm-rg350-9ad3712aa30944fa3bdc5e03eb87499daf626592.tar.bz2
scummvm-rg350-9ad3712aa30944fa3bdc5e03eb87499daf626592.zip
AGI: Add WORKAROUND comment to "render after menu"
see commit 0b75bf37219cf49f274da330a44e81068152599c Original AGI did not do, what we are doing now
Diffstat (limited to 'engines/agi/menu.cpp')
-rw-r--r--engines/agi/menu.cpp3
1 files changed, 2 insertions, 1 deletions
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);