diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-08-03 06:51:27 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-08-03 06:51:27 +0000 |
commit | ce23f3d9215ebbd12d2f9847cd13b36b61ca3ee6 (patch) | |
tree | 7c7b2d27427d76da2275ea6d6cd3817b5999bb15 /apps | |
parent | 6cc67cea0a729954bb2bf854382ff3e573450fb7 (diff) |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/jpeg.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c index 5166f4ef5e..34640d8b92 100644 --- a/apps/plugins/jpeg.c +++ b/apps/plugins/jpeg.c @@ -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; } |