From 1ff0c351f77ad14f4a53c7c87b9b9a20c653a2d8 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Mon, 6 Aug 2007 15:01:45 +0000 Subject: Fix red archos sims and make some minor cleanup git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14216 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/splash.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/gui/splash.c') diff --git a/apps/gui/splash.c b/apps/gui/splash.c index 94d9ef6a5c..c690777cc6 100644 --- a/apps/gui/splash.c +++ b/apps/gui/splash.c @@ -200,12 +200,14 @@ void gui_syncsplash(int ticks, const unsigned char *fmt, ...) { va_list ap; int i; +#if !defined(SIMULATOR) || CONFIG_CODEC == SWCODEC long id; /* fmt may be a so called virtual pointer. See settings.h. */ if((id = P2ID(fmt)) >= 0) /* If fmt specifies a voicefont ID, and voice menus are enabled, then speak it. */ cond_talk_ids_fq(id); +#endif /* If fmt is a lang ID then get the corresponding string (which still might contain % place holders). */ fmt = P2STR(fmt); -- cgit v1.2.3