From ec2a5cce1a4e3609535a9ae902a80933fbb0f341 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Mon, 25 Sep 2006 09:44:10 +0000 Subject: yet more code cleanup, quick snapshot feature,sound should no longer crash,light optimizations git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11041 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/zxbox/interf.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'apps/plugins/zxbox/interf.c') diff --git a/apps/plugins/zxbox/interf.c b/apps/plugins/zxbox/interf.c index b57a46ab1f..8e39e35d39 100644 --- a/apps/plugins/zxbox/interf.c +++ b/apps/plugins/zxbox/interf.c @@ -32,7 +32,10 @@ char msgbuf[MAXMSGLEN]; char *spif_get_filename(void) { char *name=NULL; -/* char *name, *s; +#if 0 +/* should be implemented when adding ability */ +/* to open snapshots from within zxbox */ + char *name, *s; s = get_filename_line(); for(; *s && isspace((int) *s); s++); @@ -44,7 +47,7 @@ char *spif_get_filename(void) printf("Canceled!\n"); return NULL; } -*/ +#endif return name; } @@ -52,7 +55,11 @@ char *spif_get_tape_fileinfo(int *startp, int *nump) { *startp=*nump=0; char *name=NULL; - /* char *name, *s; +#if 0 +/* should be implemented when adding ability */ +/* to tapes snapshots from within zxbox */ + + char *name, *s; int res; s = get_filename_line(); @@ -81,14 +88,14 @@ char *spif_get_tape_fileinfo(int *startp, int *nump) if(res < 2) *startp = -1; if(res < 3) *nump = -1; -*/ +#endif return name; } void put_msg(const char *msg) { #ifndef USE_GRAY - rb->splash (HZ/10,true , msg ); + rb->splash (HZ/2,true , msg ); #else LOGF(msg); (void)msg; -- cgit v1.2.3