mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 20:59:00 +00:00
AGI: Render after menu, when playarea starts at 0
Fixes graphics glitch for Donald Duck
This commit is contained in:
parent
05a5fc1b65
commit
0b75bf3721
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user