From f28da1a35a6403b153f93f66e3d96e485f89c363 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sun, 12 Aug 2007 19:49:03 +0000 Subject: Enable a lot more features for simulators and add stubs where necessary, simulators should now work with identical lng and voice files as the respective target git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14299 a1c6a512-1295-4272-9138-f99709370657 --- apps/menus/settings_menu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'apps/menus/settings_menu.c') diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c index b1ba6680be..283acc4cb7 100644 --- a/apps/menus/settings_menu.c +++ b/apps/menus/settings_menu.c @@ -122,7 +122,6 @@ MAKE_MENU(file_menu, ID2P(LANG_FILE), 0, Icon_file_view_menu, /* SYSTEM MENU */ /* Battery */ -#ifndef SIMULATOR #if BATTERY_CAPACITY_INC > 0 MENUITEM_SETTING(battery_capacity, &global_settings.battery_capacity, NULL); #endif @@ -158,7 +157,6 @@ MAKE_MENU(battery_menu, ID2P(LANG_BATTERY_MENU), 0, Icon_NOICON, #endif #endif ); -#endif /* SIMULATOR */ /* Disk */ #ifndef HAVE_FLASH_STORAGE MENUITEM_SETTING(disk_spindown, &global_settings.disk_spindown, NULL); @@ -340,7 +338,7 @@ MENUITEM_SETTING(buttonlight_brightness, &global_settings.buttonlight_brightness MAKE_MENU(system_menu, ID2P(LANG_SYSTEM), 0, Icon_System_menu, &start_screen, -#ifndef SIMULATOR +#if (BATTERY_CAPACITY_INC > 0) || (BATTERY_TYPES_COUNT > 1) &battery_menu, #endif #if defined(HAVE_DIRCACHE) || !defined(HAVE_FLASH_STORAGE) -- cgit v1.2.3