Remove the 'USB' menu item from the sim system menu, press the 'u' key to display the USB screen instead, will break binary lng files and voice files for the sims only

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14269 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2007-08-10 14:10:50 +00:00
parent 871b9d5501
commit ff2a93f723
4 changed files with 1 additions and 40 deletions

View file

@ -124,10 +124,6 @@ rtc
scrollwheel
#endif
#if defined(SIMULATOR)
sim
#endif
#if defined(ARCHOS_RECORDER) || defined(ARCHOS_PLAYER)
soft_shutdown
#endif

View file

@ -7057,23 +7057,6 @@
*: "Debug, keep out!"
</voice>
</phrase>
<phrase>
id: LANG_USB
desc: in the info menu
user:
<source>
*: none
sim: "USB (Sim)"
</source>
<dest>
*: none
sim: "USB (Sim)"
</dest>
<voice>
*: none
sim: ""
</voice>
</phrase>
<phrase>
id: LANG_PLAYLIST
desc: Used when you need to say playlist, also voiced

View file

@ -125,10 +125,6 @@ static bool show_credits(void)
return false;
}
#ifdef SIMULATOR
extern bool simulate_usb(void);
#endif
#ifdef HAVE_LCD_CHARCELLS
#define SIZE_FMT "%s%s"
#else
@ -399,18 +395,10 @@ MENUITEM_FUNCTION(show_runtime_item, 0, ID2P(LANG_RUNNING_TIME),
(menu_function)view_runtime, NULL, NULL, Icon_NOICON);
MENUITEM_FUNCTION(debug_menu_item, 0, ID2P(LANG_DEBUG),
(menu_function)debug_menu, NULL, NULL, Icon_NOICON);
#ifdef SIMULATOR
MENUITEM_FUNCTION(simulate_usb_item, 0, ID2P(LANG_USB),
(menu_function)simulate_usb, NULL, NULL, Icon_NOICON);
#endif
MAKE_MENU(info_menu, ID2P(LANG_SYSTEM), 0, Icon_Questionmark,
&show_info_item, &show_credits_item, &show_runtime_item,
&sleep_timer_call, &debug_menu_item
#ifdef SIMULATOR
,&simulate_usb_item
#endif
);
&sleep_timer_call, &debug_menu_item);
/* INFO MENU */
/***********************************/

View file

@ -105,12 +105,6 @@ void ata_spindown(int s)
(void)s;
}
bool simulate_usb(void)
{
usb_screen();
return false;
}
int rtc_read(int address)
{
return address ^ 0x55;