mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
Bugfix to restore the correct part of the screen when the menu changes
svn-id: r26486
This commit is contained in:
parent
e01efe4004
commit
3586004c96
@ -111,10 +111,7 @@ uint8 Menu::execute() {
|
||||
// If necessary, remove prior menu
|
||||
if (_selectedMenu) {
|
||||
toggleHighlight(_selectedMenu);
|
||||
// screen.updateArea(_selectedMenu->xstart(), MENUBAR_Y_SIZE,
|
||||
// _surfaceMenu->width(), _surfaceMenu->height());
|
||||
screen.updateArea(0, MENUBAR_Y_SIZE, FULL_SCREEN_WIDTH,
|
||||
_surfaceMenu->height());
|
||||
screen.updateArea(0, 0, FULL_SCREEN_WIDTH, _surfaceMenu->height() + 8);
|
||||
delete _surfaceMenu;
|
||||
_surfaceMenu = NULL;
|
||||
_selectedIndex = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user