diff options
| author | Anton Romanov <theli@rockbox.org> | 2006-09-25 09:44:10 +0000 |
|---|---|---|
| committer | Anton Romanov <theli@rockbox.org> | 2006-09-25 09:44:10 +0000 |
| commit | ec2a5cce1a4e3609535a9ae902a80933fbb0f341 (patch) | |
| tree | bd2874b573d5b29ba695e1f13c7ee5d908a473e6 /apps/plugins/zxbox/interf.c | |
| parent | 52f4c4c82bb038f3704007016a5df1639c6af443 (diff) | |
| download | rockbox-ec2a5cce1a4e3609535a9ae902a80933fbb0f341.zip rockbox-ec2a5cce1a4e3609535a9ae902a80933fbb0f341.tar.gz rockbox-ec2a5cce1a4e3609535a9ae902a80933fbb0f341.tar.bz2 rockbox-ec2a5cce1a4e3609535a9ae902a80933fbb0f341.tar.xz | |
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
Diffstat (limited to 'apps/plugins/zxbox/interf.c')
| -rw-r--r-- | apps/plugins/zxbox/interf.c | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/apps/plugins/zxbox/interf.c b/apps/plugins/zxbox/interf.c index b57a46a..8e39e35 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; |