forked from len0rd/rockbox
Greyscale targets: Fix empty display when returning from menu without action. Don't show remnants of old info during disk spinup when loading a new file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10426 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6cc67cea0a
commit
ce23f3d921
1 changed files with 5 additions and 4 deletions
|
@ -2140,7 +2140,7 @@ int show_menu(void) /* return 1 to quit */
|
|||
case 4:
|
||||
break;
|
||||
}
|
||||
MYLCD(clear_display)();
|
||||
rb->lcd_clear_display();
|
||||
rb->menu_exit(m);
|
||||
return 0;
|
||||
}
|
||||
|
@ -2727,13 +2727,14 @@ int load_and_show(char* filename)
|
|||
|
||||
#ifdef USEGSLIB
|
||||
gray_show(false); /* switch off overlay */
|
||||
#else
|
||||
rb->lcd_clear_display();
|
||||
#endif
|
||||
|
||||
rb->lcd_clear_display();
|
||||
}
|
||||
while (status != PLUGIN_OK && status != PLUGIN_USB_CONNECTED
|
||||
&& status != PLUGIN_OTHER);
|
||||
#ifdef USEGSLIB
|
||||
rb->lcd_update();
|
||||
#endif
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue