diff options
author | Martin Kiewitz | 2016-02-02 17:44:53 +0100 |
---|---|---|
committer | Martin Kiewitz | 2016-02-02 17:44:53 +0100 |
commit | 0b75bf37219cf49f274da330a44e81068152599c (patch) | |
tree | 5c20b45dee7b633f2a98ce4d7713c251b199ee40 | |
parent | 05a5fc1b65a089f3c12025107f745f6bb748526e (diff) | |
download | scummvm-rg350-0b75bf37219cf49f274da330a44e81068152599c.tar.gz scummvm-rg350-0b75bf37219cf49f274da330a44e81068152599c.tar.bz2 scummvm-rg350-0b75bf37219cf49f274da330a44e81068152599c.zip |
AGI: Render after menu, when playarea starts at 0
Fixes graphics glitch for Donald Duck
-rw-r--r-- | engines/agi/menu.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/agi/menu.cpp b/engines/agi/menu.cpp index 97b59d847c..df77587abb 100644 --- a/engines/agi/menu.cpp +++ b/engines/agi/menu.cpp @@ -356,7 +356,13 @@ void GfxMenu::execute() { if (_text->statusEnabled()) { _text->statusDraw(); } else { - _text->clearLine(0, 0); + if (_text->getWindowRowMin() == 0) { + // Playarea starts right at the stop, so instead of clearing that part, render it from playarea + // Required for at least Donald Duck + _gfx->render_Block(0, (1 * FONT_VISUAL_HEIGHT) - 1, SCRIPT_WIDTH, FONT_VISUAL_HEIGHT); + } else { + _text->clearLine(0, 0); + } } } |