From aa040167453347e142909ef7514e7d55890ad8da Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 21 Oct 2006 10:58:35 +0000 Subject: [PATCH] Fix yelllow Player sim. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11291 a1c6a512-1295-4272-9138-f99709370657 --- apps/main_menu.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/main_menu.c b/apps/main_menu.c index a50a2cba4f..bc9934bf83 100644 --- a/apps/main_menu.c +++ b/apps/main_menu.c @@ -370,10 +370,12 @@ bool info_menu(void) #ifdef HAVE_LCD_CHARCELLS static bool do_shutdown(void) { - if (!charger_inserted()) - sys_poweroff(); - else +#ifndef SIMULATOR + if (charger_inserted()) charging_splash(); + else +#endif + sys_poweroff(); return false; } #endif