From 82340129a64f670ddcad88f1761cb1d32c165e40 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 21 Aug 2002 17:26:12 +0000 Subject: [PATCH] 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 --- apps/main_menu.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/main_menu.c b/apps/main_menu.c index eb02e5b7c4..2cb9bda9bd 100644 --- a/apps/main_menu.c +++ b/apps/main_menu.c @@ -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 };