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/spconf.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/spconf.c')
| -rw-r--r-- | apps/plugins/zxbox/spconf.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/apps/plugins/zxbox/spconf.c b/apps/plugins/zxbox/spconf.c index 7c49269..952b3c4 100644 --- a/apps/plugins/zxbox/spconf.c +++ b/apps/plugins/zxbox/spconf.c @@ -19,7 +19,6 @@ */ #include "misc.h" #include "spconf_p.h" -#include "spver.h" #include "interf.h" #include "spscr_p.h" #include "spkey.h" @@ -29,7 +28,6 @@ #include "zxconfig.h" #include "stdio.h" #include "string.h" -/*#include <errno.h>*/ #include "sys/types.h" #include "helpers.h" #include "ctype.h" @@ -42,17 +40,7 @@ char *spcf_init_snapshot = NULL; int spcf_init_snapshot_type; char *spcf_init_tapefile = NULL; int spcf_init_tapefile_type; -#ifndef USE_GRAY -#define exit(i) rb->splash(HZ*1,true,"Exit: %d",i) -#else -#define exit(i) i=i -#endif -#define MAXLINELEN 512 -/*static int linectr; -static FILE *conffp; -static int conffd; -static const char *conffile; -*/ + static int file_type = -1; static int file_subtype; |