made the main menu have a USB selection when built for simulator so that

we can simulate the USB stuff at least basicly


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1893 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2002-08-21 17:26:12 +00:00
parent 42564a1b99
commit 82340129a6

View file

@ -128,6 +128,8 @@ void show_credits(void)
#ifdef SIMULATOR
#define mp3buf 0
#define mp3end 0
extern void simulate_usb(void);
#else
/* defined in linker script */
extern unsigned char mp3buf[];
@ -197,6 +199,8 @@ void main_menu(void)
{ "Version", show_credits },
#ifndef SIMULATOR
{ "Debug (keep out!)", debug_menu },
#else
{ "USB (sim)", simulate_usb },
#endif
};