Fix yelllow Player sim.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11291 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2006-10-21 10:58:35 +00:00
parent b990d4f26b
commit aa04016745

View file

@ -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